I am running sruts 2 (2.1.8.1) applications on jboss AS (5.1.0-GA). Im by putting a.war and b.war on the same path / server / default / deployment, and placing struts 2 libs in the path / server / default / lib.
There is no error message in the application or on the server, but when I type http: // localhost: 8080 / b / for any reason, I get in b. jsp, messages in application message resources a.
So my question is: placing struts columns in / lib server creates only one instance of the value stack, which all applications should use the same? If so, what can I do to have different instances for each application, but store the banks on the paht server?
Should I pick up racks in the war?
thank
im using the struts tag to get the system name
<s:property value="%{getText('system.title')}"/>
this is my configuration for a.war:
/WEB-INF/classes/a-message-resources.properties
system.title=Namefor system A
in struts.xml i have
<constant name="struts.custom.i18n.resources" value="a-message-resources" />
This is the configuration for b.war
/WEB-INF/classes/b-message-resources.properties
system.title=Namefor system B
in struts.xml i have
<constant name="struts.custom.i18n.resources" value="b-message-resources" />