Meaningless Drivel is fun!
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
Ranch Hand

Joined: Dec 11, 2007
Posts: 32
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.
I agree. Here's the link:
subject: MessageResources in Struts 1.1
It's not a secret anymore!