You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by thebugslayer <th...@gmail.com> on 2007/08/27 02:22:24 UTC

resources to watch for reloading weapp

Hi,
Is there way to configure/add more file to be monitored for changes
that trigger a webapp's auto reload?



-- 
/bugslayer

---------------------------------------------------------------------
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


RE: resources to watch for reloading weapp

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: thebugslayer [mailto:thebugslayer@gmail.com] 
> Subject: resources to watch for reloading weapp
> 
> Is there way to configure/add more file to be monitored for changes
> that trigger a webapp's auto reload?

Yes; use the <WatchedResource> element nested inside a <Context>:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Nested%20Com
ponents

An example can be found in Tomcat's default conf/context.xml file.

 - 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