jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes single message resource for multiple war files 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 "single message resource for multiple war files" Watch "single message resource for multiple war files" New topic
Author

single message resource for multiple war files

raja addala
Greenhorn

Joined: Jul 10, 2008
Posts: 1
Hi All,

I want to make an ear which is having multiple WAR files. Each war file is having one messageResource file with it. The problem is that when ever I am deploying the code the application is not recognising the messageResource file.
Is there any way to access the messageResource file.

<message-resources key="labelResources"
parameter="LabelMessageResources"
factory="com.exp.framework.common.resource.FrameworkMessageResourcesFactory"
null="false" />


The above code is present in all the struts-config.xml files in all the wars.
The JSP code for all the jsp's in all the war files is as below

bean:message key="label.example" bundle="labelResources"/>

Please help me in resolving.

Thanks in Advance!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: single message resource for multiple war files