File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResourceBundle

 
Thomas Mcfarrow
Ranch Hand
Posts: 137
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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

Thanks.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Restart the server.
 
Ray Stojonic
Ranch Hand
Posts: 326
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 137
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok... without restarting the server and using websphere 5.1.2
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic