Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to Modify Resource Bundle While your application is Running withou restarting Ser

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends!
Can any body tell me How to Modify Resource Bundle While your application is Running withou restarting Server?

Its a fact Well Known Fact that ,When your application first access a resource bundle,struts loads the bundle into Memory & Caches it so that it can be quickly accessed again.Because of this,if you modify your Resource Bundles while your application is running,you will have to restart server before you see the changes.

However i need to change the resource Bundle without starting the server as it is a need of the application.

Please guide to solve this problem?

SHailesh
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to implement and configure [http://struts.apache.org/struts-core/userGuide/configuration.html#5_2_2_Message
_Resources_Configuration
] your own resource bundle
factory that takes care of the reloading (or search the net, someone's
probably already published one you can use).
 
Dinner will be steamed monkey heads with a side of tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic