Project java with struts and tomcat encoding UTF-8 for POST requests -


i'm trying save data in utf-8, i'm getting problems encoding :

in post request, when watch firebug can see post request "content-type: text/html".

however, when watch action, httpservletrequest object has object connector attribute uriencoding = utf-8 jsp page encoding in utf-8, (firefox told me , checked notepad++) put -dfile.encoding="utf-8" in debug configurations/arguments tomcat server have uriencoding = utf-8 in file server.xml @ right connector, , in file web.xml have following filter :

<filter>     <filter-name>setcharacterencodingfilter</filter-name>     <filter-class>org.apache.catalina.filters.setcharacterencodingfilter</filter-class>     <init-param>         <param-name>encoding</param-name>         <param-value>utf-8</param-value>     </init-param> </filter> 

what doing wrong, can me ?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -