i have a HashMap stored in the session (as 'events') i'm trying to use the logic:iterate tag to iterate through it in my jsp in a nested fashion. the HashMap has a bean as the key and a collection of beans as its value. when i try to run the page, i get an error: "Cannot create iterator for this collection". any ideas?
my jsp looks like this.

<logic:iterate id="list" collection="events">

<bean:define id="event" name="list" property="key" type="com.foo.bar.EventDisplay"/>

<bean:define id="tickets" name="list" property="value" type="java.util.Collection"/>

<bean:write name="event" property="title"/>

<logic:iterate id="ticket" name="tickets">

<bean:write name="ticket" property="location"/>

</logic:iterate>

</logic:iterate>

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to