Hi all:
For some reason, Strut can't find my message bundle. For testing purpose, i
have 2 language(thus 2 properties files).
MyResources.properties(default for English)
MyResources_fr.properties(for French)
On the JSP message bean call, the default English works fine. But i can't
get the French version to work. It tells me:
javax.servlet.jsp.JspException: Cannot find message resources under key
MyResources
<!-- jsp code -->
<h3><bean:message bundle="MyResouces" locale="fr" key="um_user.heading"/>
<%= userSession.getName()%>
</h3>
<!-- end jsp code -->
<!-- the xml config file here -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>MyResources</param-value>
</init-param>
...
</servlet>
Am i doing something wrong? Please help!
Simon
============================================================================
This message is intended only for the use of the Addressee(s) and may
contain information that is PRIVILEGED and CONFIDENTIAL. If you are not
the intended recipient, dissemination of this communication is prohibited.
If you have received this communication in error, please erase all copies
of the message and its attachments and notify [EMAIL PROTECTED]
immediately.
============================================================================