I have been using struts for years and this is the first time I have been
stumped. This is a long running project (over 6 years) that is using struts
1.3 running under Resin 3.0. I can change the version of struts but not
resin.

 

This is the line:

<logic:iterate id="task" name='${cache.vars["foundData"] }'>

 

And this is the error:

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,
com.comsquared.workflow.web.util.SortableData@142880d,
com.comsquared.workflow.web.util.SortableData@f22097,
com.comsquared.workflow.web.util.SortableData@39b3a2,
com.comsquared.workflow.web.util.SortableData@406c7e,
com.comsquared.workflow.web.util.SortableData@192c766,
com.comsquared.workflow.web.util.SortableData@16132c4,
com.comsquared.workflow.web.util.SortableData@4be8b8,
com.comsquared.workflow.web.util.SortableData@19bbd86,
com.comsquared.workflow.web.util.SortableData@1b7d13e,
com.comsquared.workflow.web.util.SortableData@10a7be0,
com.comsquared.workflow.web.util.SortableData@14ab8e4,
com.comsquared.workflow.web.util.SortableData@b08ba7,
com.comsquared.workflow.web.util.SortableData@a0b07b,
com.comsquared.workflow.web.util.SortableData@1a28183,
com.comsquared.workflow.web.util.SortableData@1e4fede]" in any scope

 

The cache is obviously our caching mechanism and I have used EL similar to
the above to get data.  vars is a HashMap<String, Object> and the foundData
object is an ArrayList of data beans.

 

What confuses me is that the error says it can't find the bean, but it lists
the contents of the bean so it must have found it. Anyone have any idea what
this error actually might be?

 

Edward W. Rouse

Reply via email to