This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server" Watch "non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server" New topic
Author

non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server

Ajay Aj
Greenhorn

Joined: Jan 09, 2006
Posts: 3
Hi,
I am developing JSP-Struts based application using tomcat server. In JSP struts form, when I put nonascii charater in the text field or text area, on the server side I recived twice of that non-ascii character..
for example, in the text field I entered following string:
------> This is text in tex field ��
On the server side, I get the following:
------> This is text in tex field ����

Please notice, twice non ascii character..

I don't know how to resolve this.. Any help will be greatly appricated..

Thanks,
Ajay
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Moving to the Struts forum since you are using Struts and it might have something to do with Struts taglibs.


GenRocket - Experts at Building Test Data
 
 
subject: non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server