This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes MessageResources in Struts 1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "MessageResources in Struts 1.1" Watch "MessageResources in Struts 1.1" New topic

MessageResources in Struts 1.1

Rajitha Gunawardhane

Joined: Dec 11, 2007
Posts: 28
Hi All,

Currently I am working on a bit old code base. Here in most of classes it using Struts's MessageResources class. I want to know is it possible to keep only one MessageResources for entire application. How about the thread safety.

David Newton

Joined: Sep 29, 2008
Posts: 12617

Sure, that's the default.
jQuery in Action, 2nd edition
subject: MessageResources in Struts 1.1
Similar Threads
Strange issue with struts-config.xml
Specifying a message resource file within the Action class
MessageResources VS ResourceBundle
access in JSP
Getting MessageResources inside ActionForm