All these WARs are part of the same EAR? Or they just separated WARs?
You can define a constant struts.custom.i18n.resources in struts.xml
for each WAR:

<constant name="struts.custom.i18n.resources" value="app1-message"/>

and then put your app.title in app1-message.properties and so on for the rest.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/8/15 Omar Ngarigari <ngarigar...@yahoo.com>
>
> I have three different applications that were developed using Struts2 
> framework. I deployed three different war files on the JBoss AS6. But, now I 
> am having problem with global message.properties files. Each war file has its 
> own message.properties file.
>
> message.properties file for the App1.war consists of
>
> app.title="State Database"
>
> message.properties file for the App2.war consists of
>
> app.title="Agency Database"
>
> message.properties file for the App3.war consists of
>
> app.title="Database Status Report"
>
> In JSP file for the App1.war there is <s:text name="app.title"/> application 
> title
>
> In JSP file for the App2.war there is <s:text name="app.title"/> application 
> title
> In JSP file for the App3.war there is <s:text name="app.title"/> application 
> title
>
> When I run the App1, I see "Agency Database" as App1 title.
> When I run the App2, again I see "Agency Database" as App2 title.
> When I run the App3, again I see "Agency Database" as App3 title.
>
> Any idea how to resolve the conflict?
>
> Thanks in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to