RE: Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Chris Ward
gt; > if you want to be able to reload it, I suggest that you load > it using a > FileInputstream, and not getResourceAsStream from the class > loader. if you load it through the class loader, the class > loader doesn't reload > it until restart. > > Filip > >

Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Chris Ward
Hi all, I've build a little util class for sucking in properties. When I use it from "command line" progs it seems to work okay, but when I call it from a servlet it never seems to load an *updated* version of the .properties file. I am using a HashMap to cache the Properties and associated ti