tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <>
Subject RE: Page encodings
Date Thu, 10 Jun 2004 22:31:03 GMT
What's your current solution?  Interceptor?

Servlet 2.3(Tomcat 4.0)+ supports filters.  You may want take a look.

There is lots of examples on using an Encoding Filter.


-----Original Message-----
From: Marcel Gosselin [] 
Sent: June 10, 2004 07:31
To: Tomcat Users (E-mail)
Subject: Page encodings

Hi everybody,

I have a few questions regarding character encodings in Tomcat.

Right now we`re using an old Tomcat version (3.2) but we think about
upgrading to a new version if it solves our problem in an easy way.

Is there a way to set Tomcat so that it both
- always sends the HTTP header about page encoding to UTF-8
- sends the page UTF-8 encoded
- gets the right characters when I use request.getParameters() or

I would like to prevent changing all the JSP pages to add
and change every HTML form to specify that we expect UTF-8 at the other end.

Thanks a lot

Marcel Gosselin

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

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

View raw message