> From: Juha Laiho [mailto:Juha.Laiho@iki.fi]
> Subject: How to inject a webapp listener?
>
> I would like to have the Tomcat container to inject a specific
> ServletContextListener to each loaded webapp on my server - without
> touching the individual web.xml files, and am looking for advise on
> how to achieve this.
Add it to the existing $CATALINA_HOME/conf/web.xml file. This file
becomes part of every webapp's configuration, unless overridden by a
particular WEB-INF/web.xml's settings. Note that this will also affect
the various webapps supplied with Tomcat.
- 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
|