RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
s not check resource Timestamps. So, even if the cache was working it would not reload resources upon file changes. (only binaryContent is being checked. eg null or not null). Are my observations correct? Brandon Goodin -Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sen

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, >Dang it! I knew it was too good to be true. Well, it works just fine for >me. >I do not deal with WARs. Anywyas, why would anyone want to run from a >"packed" WAR anyways (instead of unpacked)? I'm not being sarcastic. I am >just trying to think of an instance where it makes sense. Two c

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Filip Hanik
am > just trying to think of an instance where it makes sense. > > Brandon Goodin > > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 12:37 PM > To: Tomcat Users List > Subject: RE: [SOLVED]RE: getResourceAsStream c

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Phillip Qin
Because Tomcat Manager deploys webapp from war. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 2:50 PM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader? Dang it! I knew it was too good to be

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Brandon Goodin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:37 PM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader? Howdy, Please note your approach will fail when running from a pack

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Please note your approach will fail when running from a packed .war file, as the new File(..) will throw an exception. This might be OK for your environment, but is important to keep in mind for portability. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bran