Hello!
Does anyone know how can I set encoding for the request in struts webapp ?
I used ActionForward( path ). in the path variable I have some Chinese
Characters.
Thanks for any help in advance.
--
Thanks
-Yan.
If you're using a Servlet 2.3+ container, you can use a filter to set the
request's character encoding. An example implementaion is included with Tomcat.
For Tomcat 4.1 see:
$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters/SetCharacterEncodingFilter.java
Or in CVS:
2 matches
Mail list logo