aspose file tools*
The moose likes Struts and the fly likes ResourceBundle 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 "ResourceBundle" Watch "ResourceBundle" New topic
Author

ResourceBundle

Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
Hello,

How do I get struts to re-read the resource bundle in case of updates.

Thanks.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Restart the server.


A good workman is known by his tools.
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
(assuming tomcat)
or just reload the context via the manager...

also, if you add reloadable='true' to the context for your app, tomcat will monitor the directory structure and reload the context automatically when relevant changes occur. (there's quite a bit of overhead involved in this, so it's recommended for dev only)

[ November 03, 2004: Message edited by: Ray Stojonic ]
[ November 03, 2004: Message edited by: Ray Stojonic ]
Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
ok... without restarting the server and using websphere 5.1.2
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I don't think there is a way but I would love to know how if I am wrong, as I use WSAD5 as well.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ResourceBundle