It's not a secret anymore!*
The moose likes Struts and the fly likes Message resource files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Message resource files" Watch "Message resource files" New topic
Author

Message resource files

azhar bharat
Ranch Hand

Joined: Jul 17, 2006
Posts: 87
Should the application be restarted every time a change is done to the message resource files?
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425
Yes, message resources are loaded and cached when the init() method of ActionServlet is called. You need to reload/redeploy the servlet to pick the changes in resource files.
 
Consider Paul's rocket mass heater.
 
subject: Message resource files
 
Similar Threads
Message Resource files
tar.class.getResource ( "/com/ice/tar/asciimime.txt" );
Struts menu not working properly in Jboss
Why URL class
can we use only one resource file for validation of two modules having same type of pages.