• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Changing property file values dynamically using struts

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

Am facing small problem in my application, am using struts1.xx in my project , ( Tomcat server).

Problem : Am using some configuration parameters in my application using appl.properties and reading using ResourceBundle class, everything looks fine but
if i want to change any entry in property file i need to restart server to get it reflected,
ex : name_key=java
if i want to change "name_key" value from java to j2ee, i need to restart tomcat server,

could you please let me know how can i achieve this?

I really appriciate if anyone having any suggestion.

 
Naresh Talluri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anyone please give some idea on this.
 
reply
    Bookmark Topic Watch Topic
  • New Topic