File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to reload Applications.properties file in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to reload Applications.properties file in struts" Watch "how to reload Applications.properties file in struts" New topic
Author

how to reload Applications.properties file in struts

Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Hi,
I need a functionality in struts in which i can relaod my Application.properties ,so that message in jsp can also get the updated values,
without having any kind of re-deployment of application.
I have tried some solutions given in javaranch previously,but for me that implementation now working.
Looking forward
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
There is in-built class in struts that handle this re-loading of properties file. I don't have exact name for that class. Just go throufg Struts API(1.1 and 1.2) you will definetly get it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to reload Applications.properties file in struts