struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kushan Jayathilake <kusha...@gmail.com>
Subject Re: Get a list stored in the session to the struts tag
Date Wed, 23 Jun 2010 10:55:00 GMT
Hi James,

Thank you very much for your quick reply, i have found the way,

<s:iterator value='%{session.test}' >

 no need of that # sign there.

Thanks again, you helped me to solve this :)

-- 
Regards
Kushan Jayathilake


On Wed, Jun 23, 2010 at 4:20 PM, James Cook <James.Cook@wecomm.com> wrote:

> Try %{#session.test}
>
> James
>
> -----Original Message-----
> From: Kushan Jayathilake [mailto:kushanxp@gmail.com]
> Sent: 23 June 2010 11:49
> To: Struts Users Mailing List
> Subject: Get a list stored in the session to the struts tag
>
> Hi Guys,
>
> I want to get a list stored in the session and feed that value in to the
> iterator... i have done like as shown below, but its not working
>
> <s:iterator value='%{request.getSession().getAttribute("test");}' >
>
> </s:interator>
>
> Can anyone suggest me how to do this..?
>
>
> --
> Regards
> Kushan Jayathilake
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message