You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henrique VIECILI <vi...@softplan.com.br> on 2004/03/10 21:17:15 UTC

Cannot Create Iterator

Hi,

I have a bean in session scope wich is a HashMap of HashMap, i.e., the key's
value stored is another HashMap.

Ex.:

HashMap alpha = new HashMap();
alpha.put("key1",new HashMap());

request.getSession().setAttribute("alpha",alpha);

But, when I use :
<logic:iterate id="map" name="alpha" >
    <logic:iterate id="submap" name="map" >
it produces an "JSPException: Cannot create iterator for this collection"

Is that any known bug? How to correct this issue?

Thanx,
Henrique Viecili


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org