> If you want to set
> the charset in the HTTP header, you'll need to set it explicitly using a
> JSP, a filter or similar.

It's wise to do both, http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8.  
For the filter, it's important to put the filter at or near the top of the 
filter chain since any attempt to read the request will coerce the encoding, 
possibly before it is explicitly set.  Two good existing filters for this 
purpose:

http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/filter/CharacterEncodingFilter.html

http://code.google.com/p/vt-middleware/wiki/vtservletfilters#CharacterEncodingFilter

M


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to