tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Tomcat Wiki] Update of "HowTo" by markt
Date Tue, 04 Dec 2007 17:53:02 GMT
Dear Wiki user,

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

The following page has been changed by markt:

The comment on the change is:
Move this content to new encoding FAQ.

- == How to set the encoding used to interpret POST requests? ==
- POST requests should specify the encoding of the parameters and values they send. Since
many clients fail to set an explicit encoding, the defaults are used - ISO 8859-1. In many
cases this is not the preferred interpretation so one should employ a javax.servlet.Filter
to set request encodings. Writing such a filter is trivial. Furthermore Tomcat already comes
with such an example filter. Please take a look at:
-  4.x:: {{{webapps/examples/WEB-INF/classes/filters/}}}
-  5.x:: {{{webapps/servlets-examples/WEB-INF/classes/filters/
- webapps/jsp-examples/WEB-INF/classes/filters/}}}
-  6.x:: {{{webapps/examples/WEB-INF/classes/filters/}}}
- The interpretation of paramers in GET requests is determined by the URIEncoding parameter
to the Connector element in server.xml configuration file.

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

View raw message