*
The moose likes Struts and the fly likes Struts 1.1 : unable to locate resource bundel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.1 : unable to locate resource bundel" Watch "Struts 1.1 : unable to locate resource bundel" New topic
Author

Struts 1.1 : unable to locate resource bundel

damodar kumar
Ranch Hand

Joined: May 19, 2008
Posts: 77

Hi,

i have two resource bundle one is x.properties and y.properties.

in struts-config.xml

<message-resources key="X" parameter="x" />
<message-resources parameter="Y"/>

in jsp im using both resource bundles

<tr><bean:message bundle="X" key="bmi.inches.length"/>
<td> *   <bean:message key="Create"/></td></tr>

whne invoking the jsp im getting the error as

javax.servlet.jsp.JspException: Cannot find message resources under key X
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:819)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:295)

can any pne help on this.

Thanks


<a href="http://stackoverflow.com/users/668970/user668970" rel="nofollow">
<img src="http://stackoverflow.com/users/flair/668970.png" >
</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.1 : unable to locate resource bundel
 
Similar Threads
Confirmation reg Properties file
headache with validation framework
accessKey and optionsCollection
Locale problem in struts 1.1
serveral ApplicationResources .properties for one project?