This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1.1 : unable to locate resource bundel

 
damodar kumar
Ranch Hand
Posts: 77
Android Chrome MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic