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 Android Security Essentials Live Lessons this week in the Android 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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
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.