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=10279>. 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=10279 only one message-resources is loaded. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-06-30 03:21 ------- The problem with the way you are initializing things is that you are not specifying the "key" attribute for the second resources bundle. When you don't, Struts uses the default key (Action.MESSAGES_KEY) for both, and the second replaces the first. Try this instead: <message-resources key="validationResources" parameter="ValidationResources"/> <message-resources parameter="ApplicationResources"/> and then, from within an Action, you can access the alternate bundle: MessageResources validationResources = (MessageResources) getServlet().getServletContext().getAttribute("validationResources"); or in a <bean:message> tag like this: <bean:message key="message.key" bundle="validationResources"/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>