struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <...@i-trade.hu>
Subject Re: logic:iterate examples plz.
Date Thu, 27 Feb 2003 13:56:24 GMT
shashi_struts wrote:

>HI
>I am working on the concept in which i stored string as key and arraylist as value in
the hashtable.The arraylist stores a class name A which have two parameter name and value
>
>
>I tried too much but not succeed to print the value in key,value  in wirte manner.
>
>  
>

http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate

|<logic:iterate id="entry" name="myMap">
    <bean:write name="entry" property="key"/>
    <logic:iterate id="subelement" name="entry" property="value">
       <bean:write name="subelement"/>
||    </logic:iterate>
||</logic:iterate>

Hth,

Tib
|



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


Mime
View raw message