> ----------
> From:         Gemes Tibor[SMTP:[EMAIL PROTECTED]
> Reply To:     Struts Users Mailing List
> Sent:         Tuesday, June 24, 2003 7:46 PM
> To:   Struts Users Mailing List
> Subject:      Re: logic:iterate using HashMap
> 
> O_Parthasarathy Kesavaraj írta:
        Thanks Tib.I did look at the docs.But i got struck up.If u have any
sample code pls send.
        Regards
        Partha
> >How to iterate thro HashMap using logic:iterate?
> >  
> >
> You did not look into the docs, did you?
> 
> http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate
> 
> Normally, each object exposed by the iterate tag is an element of the 
> underlying collection you are iterating over. However, if you iterate 
> over a |Map|, the exposed object is of type |Map.Entry| that has two 
> properties:
> 
>     * |key| - The key under which this item is stored in the underlying
> Map.
>     * |value| - The value that corresponds to this key.
> 
> 
> Tib
> 

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

Reply via email to