Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

character encoding from jsp->servlet  RSS feed

Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a bit of a problem with japanese character encoding.I have a jsp form which when i submit goes to a validation jsp which forwards the request on to a servlet which enters the data in a database.
Unfortunately when the form information goes from the validation jsp to the servlet something goes wrong and i just get '???' where the character string should be.
If i go directly from the form jsp to the servlet the characters display fine, but unfortunately my bean does not record any of the changes made in the form ( What is the servlet equivalent to: <jsp: property="*"/> .
My 'getAttribute("bean")' just retrieves the info that was already in the form , not the new information I just typed in!

Any one got any ideas? I use ' <jsp:forward page="../dbserv"> in the validation jsp.
Thanks in advance,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!