Hi,
I need help on this:
Problem is, I can see national characters on jsp pages correctly, but when I 
post data to an Action, the string gets messed up. I couldn't find related 
info in the archive.

Related lines on my jsp page:

<%@ page contentType="text/html; charset=ISO-8859-9" %>
<html:html locale="true">
<FORM METHOD="POST" ACTION="UpdateWoplan.do">
<INPUT TYPE="text" NAME="fieldname" size="5"
     value="<bean:write name="wpl" property="laborhrs"/>">
</FORM>
(I had to use the FORM tag because I have indexed fieldnames)

And my Action class looks like:
public class UpdateWoplanAction extends Action {
   .......
   System.out.println(request.getParameter("fieldname");
}

I cannot get the correct string here. Instead I get ????s for national 
characters like ����.

I couldn't figure out where the problem is - in Struts or in Tomcat. But I 
did a test without using Struts, and the correct string is recognized by a 
servlet then.

Any help will be very much appreciated.

Thanks,
Turgay.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to