This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread 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 Java 8 in Action this week in the Java 8 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: 15290
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: non-ascii, jsp-struts, tomcat - not reciveing the correct value in the server
 
Similar Threads
non-ascii, jsp-struts, tomcat
Regular expression
servlet code to interpret window contents
writing contents to a text area or hidden field
Problem with UTF-8 Character encoding