tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Ruthenbeck <just...@nextengine.com>
Subject RE: Clarification on Filters
Date Wed, 28 Apr 2004 19:08:02 GMT
At 11:41 AM 4/28/2004, Justin Ruthenbeck wrote:
>At 07:36 AM 4/28/2004, you wrote:
>
>>Hi,
>>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
>
>Keep in mind that if you do this, you'll have to make the filter 
>available to the container's classloader.  Put it in 
>$TOMCAT_HOME/server/lib or $TOMCAT_HOME/shared/lib, depending on what 
>you want the visibility to be.

Sorry, check that.  $TOMCAT_HOME/server/lib or $TOMCAT_HOME/common/lib, 
depending on what you want the visibility to be.

justin

>> >-----Original Message-----
>> >From: David Ramsey [mailto:david_l_ramsey@yahoo.com]
>> >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
>> >http://hotjobs.sweepstakes.yahoo.com/careermakeover
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>>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: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>______________________________________________
>Justin Ruthenbeck
>Software Engineer, NextEngine Inc.
>justinr - AT - nextengine DOT com
>Confidential. See:
>http://www.nextengine.com/confidentiality.php
>______________________________________________


______________________________________________
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See:
http://www.nextengine.com/confidentiality.php
______________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message