You can specify the attribute
reloadable="true"
in the <context> element for your web-application (in server.xml)
This will, however, watch all files for changes. There is no way to my knowledge of watching only some files.
cheers
Rory
-----Original Message-----
From: cbarnes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 11:31 AM
To: Tomcat Users List
Subject: Updating files without restarting Tomcat
I am using Tomcat 4.
I have a number of properties files in the WEB-INF/classes directory. I need
to be able to change the values of the properties in these files, but it
looks as though I need to restart Tomcat every time I change a value in
order for it to recognise the new version of the file. Is there any
configuration I can change so that it is not necessary to restart Tomcat
when I change the values of the properties. Is it possible for this to apply
just to specified files - I don't want it to check the status of all the
files in WEB-INF/classes because I know the class files won't change.
Thanks,
Catharine
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
