Should have added a filter mapping in the web.xml

<filter-mapping>
      <filter-name>setCharaterEncoding</filter-name>
      <servlet-name>StrutsActionServlet</servlet-name>
   </filter-mapping>



-----Original Message-----
From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED] 
Sent: 16 January 2006 13:38
To: user@struts.apache.org
Subject: Struts UTF-8

    I am trying to use UTF-8 in my Tomcat 5.5 / Struts 1.2.7 app, but my
form beans shows "??" chars in place of international chars.

    1) My JSP's has the UTF-8 encoding declaration
    <[EMAIL PROTECTED] pageEncoding="UTF-8"%>

    2) The Tomcat java proccess is running with UTF-8 option:
    /usr/local/jdk1.5.0_05/bin/java -Dfile.encoding=UTF-8 

    The third step is to translate the default ISO request sent by
traditional browsers to UTF chars, but Struts automatically populate the
formbean when the form is submited, how can I do this?

    Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to