Re: Reloading resource properties

2006-02-02 Thread Laurie Harper
Jim Reynolds wrote: Apologize for a second question for the day ... but I ran into a issue. I developed a struts application on a Tomcat 5.5 engine. Whenever I updated a resource.property, the next time I would log in, I would see the new values. And that is how I thought it all worked. I believ

Re: Reloading resource properties

2006-02-02 Thread bradyh
This may not be the issue but I recently discovered that Tomcat caches some loaded resources but not others. Where propsFile is the path to my file. Cached: InputStream fis = ClassLoader.getSystemResourceAsStream(propsFile); Not cached: InputStream fis = MyClass.class.getResource(propsFile).open

Re: Reloading resource properties

2006-02-02 Thread atta-ur rehman
Jim, What do you mean next time login? Logging in without reloading the app or restarting Tomcat? Did you if you had autoload set to on on your Tomcat app? For most of the servers (both servlet containers like Tomcat and app servers like Weblogic for example) I'd expect that you will have to rel

Re: Reloading resource properties

2006-02-02 Thread Jim Reynolds
What da? On 2/2/06, Harikrishna Veeraiah <[EMAIL PROTECTED]> wrote: > There is a significant difference between webserver and appserver in > picking up the resource bundle.Hope you got it > > With Best Regards, > I.Hari krishna > > Car

Re: Reloading resource properties

2006-02-02 Thread Harikrishna Veeraiah
There is a significant difference between webserver and appserver in picking up the resource bundle.Hope you got it With Best Regards, I.Hari krishna Caritor India Private Limited. +91- 44 - 28212878 Extn:4406,4407