File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes  Help on Message resource bundle in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Help on Message resource bundle in Struts2" Watch " Help on Message resource bundle in Struts2" New topic
Author

Help on Message resource bundle in Struts2

Prathima Gajibiji
Greenhorn

Joined: Oct 06, 2007
Posts: 6
Hi,
I am working on migrating a struts 1.2 application into Struts2 and we use the following code in one of our jspf file which is included in other jsps:

MessageResource msgRsrc = MessageResources.getMessageResources("properties.HCLMessages");
pageContext.setAttribute(org.apache.struts.Globals.MESSAGE_KEY,msgRsrc,PageContext.REQUEST_SCOPE);


How can I achieve this in Struts2? Please help!

Thank you in advance,
Prathima
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on Message resource bundle in Struts2