struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alok Garg" <a...@direct2s.com>
Subject problems with <logic:iterate> in Struts
Date Sat, 02 Nov 2002 07:34:03 GMT
Hello,

I am getting an error in <logic:iterate> while I am iterating over an hashtable.

code sinnpet:

<logic:iterate id="element" name="categoriesForm" property="groups
<bean:write name="element" property="key"/>
<bean:write name="element" property="value"/>
 </logic:iterate>

hashtable contains key as java.lang.Integer and value as String

Error::

 Root cause of ServletException

javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE

 at org.apache.struts.util.RequestUtils.message(RequestUtils.java:819)

 at org.apache.struts.util.RequestUtils.message(RequestUtils.java:781)

 at org.apache.struts.taglib.bean.WriteTag.retrieveFormatString(WriteTag.java:317)

 at org.apache.struts.taglib.bean.WriteTag.formatValue(WriteTag.java:363)

If I remove "key" and replace it with value it is working. I am using Struts1.1b2
and weblogic6.1

Please help me with this.

Thanking you
Alok
Alok


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message