struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: [S2] Session Created to late
Date Thu, 20 Nov 2008 11:47:49 GMT
2008/11/20 Andreas Sachs <andilist@gmx.de>:
> isUserLoggedIn();
> getUser();
> getMenu(); (the menu depends on the user)
>
> public ...sessionCreated() {
>        MainManager mM = new mainManager()
>        session.setattribut("mainManager",mM)
>        }
>
> Within the jsp i use:
>
> #session.mM.user.name
> or
> #session.mM.menu....

it should be
#session.mainManager.user.name


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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


Mime
View raw message