Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
The properties file will be reloaded by the servlet. i'm not sure what you mean by "changed" in this context, it needs to be re-read if it is modified. Michael McGrady wrote: If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
Use the administrator, its easier :) Make sure you have setup an "admin" and "manager" Account in your tomcat-users.xml file per the tomcat docs. Then go to http://localhost:8080 while Tomcat is running, and click the Administrator link. Expand the host link (I believe it is) and drill down to

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
If the properties class is loaded, which I assume it is, the file would not have to be loaded, just changed, right? At 06:58 AM 5/12/2004, Riyad Kalla wrote: If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does

Re: ApplicationResource.properties reload

2004-05-12 Thread Michael McGrady
Hello, Riyad, I would like to select reload for my context. My present server.xml is the following: How would I do that? factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: ApplicationResource.properties reload

2004-05-12 Thread Riyad Kalla
If you are using Tomcat, it should reload this automatically if you have "reload properties" selected for your context (Atleast mine does while I'm wokring on the ApplicationResource file), and if all else fails, just use the Manager to restart the context (takes about 1 second). -Riyad Janart

RE: ApplicationResource.properties reload

2004-05-12 Thread Joe Germuska
At 6:35 PM +0530 5/12/04, Janarthan Sathiamurthy wrote: Hi, Those links were informative. But i want to reload only my ApplicationResource.properties. Any hints on how to tweak this ? For now, the solution is to create your own implementations of MessageResources and MessageResourcesFactory, and

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
uts Users Mailing List > Subject: RE: ApplicationResource.properties reload > > > Hi, > > Those links were informative. > But i want to reload only my ApplicationResource.properties. > Any hints on how to tweak this ? > > Regards, > Janarthan S > > -Origin

RE: ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
Subject: RE: ApplicationResource.properties reload Janarthan: Take a look at this link: http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html and at: http://www.mail-archive.com/[EMAIL PROTECTED]/msg22743.html However: http://jakarta.apache.org/struts/faqs/newbie.html

RE: ApplicationResource.properties reload

2004-05-12 Thread Geeta Ramani
age- > From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 5:54 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: ApplicationResource.properties reload > > > Gurus, > > I am using Struts1.1. > Is there any cus

ApplicationResource.properties reload

2004-05-12 Thread Janarthan Sathiamurthy
Gurus, I am using Struts1.1. Is there any custom code(already available) that can reload the ApplicationResource.properties file without a redeploy/restart of the application ? Regards, Janarthan S - To unsubscribe, e-mail: