tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Update of "FAQ/CharacterEncoding" by KonstantinKolinko
Date Tue, 06 Dec 2011 00:51:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "FAQ/CharacterEncoding" page has been changed by KonstantinKolinko:

Note that SetCharacterEncodingFilter must come first

+ '''''Note''''': The request encoding setting is effective only if it is done earlier than
parameters are parsed. Once parsing happens, there is no way back. Parameters parsing is triggered
by the first method that asks for parameter name or value. Make sure that the filter is positioned
before any other filters that ask for request parameters. The positioning depends on the order
of `filter-mapping` declarations in the WEB-INF/web.xml file, though since Servlet 3.0 specification
there are additional options to control the order. To check the actual order you can throw
an Exception from your page and check its stack trace for filter names.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message