DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12177
Sub-app <message-resources> not loaded.
rleland@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From rleland@apache.org 2002-08-30 17:47 -------
We have no problems with using resources from the sub-app
In the web.xml we have:
<!-- The default sub-application -->
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<!-- The subapp sub-application -->
<init-param>
<param-name>config/subapp</param-name> <!-- Includes prefix! -->
<param-value>/WEB-INF/struts-config-sub-app.xml</param-value>
</init-param>
------------------------------------------------------------
struts-config.xml :
<message-resources parameter="com.default.ApplicationResources"
key="org.apache.struts.action.MESSAGE" />
---------------------------------------------
struts-config-subapp.xml
<message-resources
key="org.apache.struts.action.MESSAGE"
parameter="com.subapp.Resources"
/>
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
|