--- On Wed, 7/9/08, Dhiraj Thakur <[EMAIL PROTECTED]> wrote:
> I am trying to iterate a session variable of type
> HashMap<String, List> using the following code, but 
> it's not producing any markup..
> 
> <s:iterator value="#session.User" id="User">
>   <s:property value="key" />
>   <s:property value="value"/>
> </s:iterator>
> 
> If there is any example on how to iterate object from
> session variable than please let me know.

Iterating over a session variable isn't any different than iterating over any 
other object--is there really a session variable named "User" that's a Map?

(As an aside, I'd recommend making the name of objects containing multiple 
objects plural, and not using the same name for a single object from the map of 
objects--that's confusing.)

Dave


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

Reply via email to