tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Clarification on Filters
Date Wed, 28 Apr 2004 14:36:57 GMT

What happens if you simply declare the filter in conf/web.xml just as
you would in your webapp's web.xml?  Are you unsure of the syntax of
declaring a filter?  (It's in the servlet specification).

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: David Ramsey []
>Sent: Wednesday, April 28, 2004 10:32 AM
>To: Tomcat Users List
>Subject: Clarification on Filters
>I am aware that I can set an encoding filter per web app in each web
>app's web.xml file. This would let me set default encoding to UTF-8.
>(Tomcat 4 appears to be Western ISO by default?)
>But if my website is intended for internal usage only as an enterprise
>application in a European nation, I would want every web app to default
>to  UTF-8.
>Now it seems to me that I ought to be able to set that filter globally
>in the $TOMCAT_HOME/conf/web.xml file but I've not yet figured out how
>to do it. Thus I have two questions.
>1. Is this the best way to set the entire container to UTF-8 encoding?
>2. If it is, can someone give me an example of how I might do that with
>the $TOMCAT_HOM/conf/web.xml file?
>Thanks in advance!
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

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

View raw message