hi,
In my method execute of the MyAction i have:
....
Collection col = facade.getSomeCollection(...);
request.setAttribute("COL", col);
nextPage = "success";
return mapping.findForward(nextPage);
}
and in the page that is forwarded:
<logic:present name="COL">
<logic:iterate name="COL" collection="java.util.Collection"
type="the.type.of.the.Element" id="element">
Element: <b>PF: <bean:write name="element" property="id" /><b></br>
</logic:iterate>
</logic:present>
And im getting the next exception:
org.apache.jasper.JasperException: Cannot create iterator for this
collection
Why?
Regards
Jorge.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com