struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang, Jane (NIH/NCI) [C]" <jian...@mail.nih.gov>
Subject Spring 2.0 Session scope beans
Date Wed, 01 Aug 2007 18:57:14 GMT
Hi,

I am experimenting with the Session scope beans.  I was able to define
on and verify that one bean is created and associated with each session.

Could I get access to the session from the bean?  I plan to use this
bean to store user information.  I need to get the user id from the
request header and populate this object.  

I can also check from the action and populate the bean if it is not
initialized.  But then I will have to check from many places.

Thanks in advance for your help,

Jane



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


Mime
View raw message