File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Message resource files" Watch "Message resource files" New topic

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.
I agree. Here's the link:
subject: Message resource files
Similar Threads
Struts menu not working properly in Jboss
Message Resource files
Why URL class
can we use only one resource file for validation of two modules having same type of pages.
tar.class.getResource ( "/com/ice/tar/asciimime.txt" );