oh my mistake actually it is a list i retrieved user name from database
stored it in list and i stored that userList in session
now i want to iterate userList from session to display all the user from
List in jsp page.
sorry for confusion its late night here feeling sleepy .
Regards


On Thu, Jul 10, 2008 at 1:48 AM, Dave Newton <[EMAIL PROTECTED]> wrote:

> --- 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