File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes character encoding from jsp->servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "character encoding from jsp->servlet" Watch "character encoding from jsp->servlet" New topic

character encoding from jsp->servlet

dibs dibley

Joined: Aug 31, 2003
Posts: 13
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,
I agree. Here's the link:
subject: character encoding from jsp->servlet
jQuery in Action, 3rd edition