Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

character encoding from jsp->servlet

 
dibs dibley
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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,
dibs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic