struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward W. Rouse" <>
Subject RE: iterate cannot find bean
Date Thu, 19 May 2011 16:51:17 GMT
No, the vars HashMap has as many as 50 objects of different names and
classes in it, plus the bean it used the toString on has the exact contents
(SortableData beans) of the exact quantity that I expected. Nice thought
though and I thank you for it.

Edward W. Rouse

-----Original Message-----
From: Dave Newton [] 
Sent: Thursday, May 19, 2011 12:41 PM
To: Struts Users Mailing List
Subject: Re: iterate cannot find bean

On Thu, May 19, 2011 at 11:54 AM, Edward W. Rouse wrote:
> <logic:iterate id="task" name='${cache.vars["foundData"] }'>
> [produces the following exception]
> 2011-05-19 11:15:50.961: Resin javax.servlet.jsp.JspException: Cannot find
> bean: "[com.comsquared.workflow.web.util.SortableData@671416,
> com.comsquared.workflow.web.util.SortableData@157d162,
> com.comsquared.workflow.web.util.SortableData@739136,
> ...]" in any scope
> What confuses me is that the error says it can't find the bean, but it
> the contents of the bean so it must have found it.

I read it differently, in that it's trying to use the toString() of
the cache var as the name of the bean.

Not an answer, but perhaps a clue.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message