Hi,

I would like to know whether I can control the cacheing
behavior of org.apache.catalina.loader.WebappClassLoader
somehow.

For the purpose of developing a server application, I would
like to be able to drop in config files and other resource
files such as scripts and be able to reload them
programmatically through
myclass.class.getResourceAsStream(myResource).

Since WebappClassLoader diligently caches all resources
in a HashMap, the resource file can never be reloaded.

Subclassing WebappClassLoader is an option, but I'd like to
avoid modifying the tomcat jar if possible.

Are there any workarounds this restriction
e.g. by using getResource URL et al. which will not ultimately
wind up accessing the same cache?

Thanks!

   Martin

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to