wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to reload Applications.properties file in struts