Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Options to get MessageResources

Status
Not open for further replies.

gywinston

Programmer
Mar 30, 2005
1
US
I need to get struts MessageResources. I see the following options. I wonder if there are any differences. Thanks.
Option 1: MessageResources.getMessageResources("MessageResources");

Option 2: MessageResourcesFactory.createFactory().createResources(“MessageResources”);

Option 3:
(MessageResources) request.getAttribute(Globals.MESSAGES_KEY);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top