• 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!