Write a method which removes the attribute (or sets it null) named
'org.apache.struts.action.MESSAGE' or similar object in the application
context.

edgar

-----Original Message-----
From: Andy Kriger [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 17, 2002 10:43 AM
To: 'Struts Users Mailing List'
Subject: refreshing application properties


I have a webapp running under Resin using Struts. I am storing message
strings and SQL queries in an application properties file. I have a
class that extends Action. It does... MessageResources
messages=getResources(); String msg = messages.getMessage("myString");

I would like to be able to make changes to the properties file while the
appserver is running and have the changes be used by my classes and JSPs
(w/o having to restart the appserver). However, when I make these
changes and then reload the page, these changes are not propogated to
the class or the JSP that uses the class. I have tried removing all java
& class files generated from compiling the JSPs from the work/_web
directory but that did not work.

Has anyone had any experience doing this?
Apologies if this is Resin-related, not Struts-related.

thx
andy



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


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

Reply via email to