struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: Get a list stored in the session to the struts tag
Date Wed, 23 Jun 2010 13:55:11 GMT
On 6/23/10 6:55 AM, Kushan Jayathilake wrote:
> Thank you very much for your quick reply, i have found the way,
>
> <s:iterator value='%{session.test}'>
>
>   no need of that # sign there.

That probably means that your action has a getSession() method.  Since 
you may use that view layer page from a different action, or you may 
want to get something from the session when something other than your 
action is on top of the value stack, I'd suggest using the # notation.

-Dale

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


Mime
View raw message