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 single message resource for multiple war files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
 
Similar Threads
Starting out with Struts 1.2.9
Cannot find message resources ..
Struts Message Resource
Missing message for key "welcome.title" in bundle "(default bundle)" for locale en_US
read properties in my java application defined in spring bean "PropertyPlaceholderConfigurer"