stry.apache.orgSubject:
Re: I want to use httpSession,but don't use hivemind?Date:
Fri, 4 May 2007 17:31:13 -0700Howdy!Is there
a reason that you're leaving out Hivemind? If not, I can show
afairly simple way of injecting an Application State Object (ASO)
that cancontain your "userinfo"
you can try to use spring like this,define a bean with session scope ,it's a
new fiture in spring2.0.
then you can use annotation @InjectObject to get the session bean controled
by spring
also you can get the httpsession this way:
getRequestCycle().getRequestContext().getSession()
users users@tapestry.apache.org*
To: *Tapestry users users@tapestry.apache.org*
Subject: *Re: I want to use httpSession,but don't use hivemind?*
Date: *Sat, 5 May 2007 23:06:02 +0800*
you can try to use spring like this,define a bean with session scope
,it's a
new fiture in spring2.0.
then you can
Hi friends:
I use Tapestry4.0.2. I find that the "getVisit" is deprecated. So
I don't want to use it. I develope a web application.After user logon,I
will store "userinfo" in httpsession.The "userInfo" could be used in many
pages. So I need have to use httpsession.I mean that I couldn't use
Howdy!
Is there a reason that you're leaving out Hivemind? If not, I can show a
fairly simple way of injecting an Application State Object (ASO) that can
contain your userinfo.
Just let me know!
-Ben
On 5/4/07, li li [EMAIL PROTECTED] wrote:
Hi friends:
I use Tapestry4.0.2. I find that