tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LiuYan 刘研 <lovet...@mail.china.com>
Subject RE: Feature request: Server level character encoding instead adding afilter for each web application.
Date Fri, 15 Dec 2006 08:24:09 GMT

Thanks a lot Chuck, the global web.xml is very good stuff. I misunderstood
the function of the global web.xml before, I thought it was only applied
when a web application does not have a web.xml before.

I read the introduction message in the web.xml file after i saw your hint.
now I put the SetCharacterEncoding filter config into the global web.xml,
and delete the SetCharacterEncoding filter config from each web application,
it works ok, thanks again !


Caldarale, Charles R wrote:
> 
>> From: lovetide [mailto:lovetide@mail.china.com] 
>> Subject: Feature request: Server level character encoding 
>> instead adding afilter for each web application.
>> 
>> 1. Repeated configuration is too bored: If Tomcat supplied 
>> that feature, we can delete the same config from each web.xml
> 
> Have you tried putting the filter config into the global
> CATALINA_HOME/conf/web.xml rather than that of each individual app?  It
> should be picked up automatically by all apps then.  Not a true
> solution, but it should decrease your workload.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Feature-request%3A-Server-level-character-encoding-config-instead-of-adding-a-filter-for-each-web-application.-tf2811984.html#a7887801
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message