Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

single message resource for multiple war files

 
raja addala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic