This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

charcter encoding in jsp  RSS feed

Essam AbdelAziz
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i try to insert date in databas
i sned teh data from my jsp to my servlet to insert in teh database
then redirect agian to my jsp
but when i back to my jsp again the arbic data appears like garbage or questions mark

i set encodink like this
in my jsp
response.setContentType("text/html; charset=UTF-8");

in servlet

if there any clue
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!