Thanks!

HttpSession session = this.getContext().getRequest().getSession();

works, now I can acces required tokens and take my app to next level.

On Mon, 08 Dec 2008 15:14:51 +0100, Oscar Westra van Holthe - Kind  
<[EMAIL PROTECTED]> wrote:

> On 08-12-2008 at 14:42, kriko wrote:
>> I tried to get session attributes in similar ways:
> [...]
>> but never got anything (null).
> [...]
>> How can I get session attributes inside actionbean?
>
> What does this return?
>
> this.getContext().getResponse().getSession().setAttribute("testAttribute",  
> "Hello World!");
> System.out.println(this.getContext().getResponse().getSession().getAttribute("Hello
>   
> World!"));
>
>
> Oscar
>



-- 
kriko

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to