Have you tried injecting HttpServletRequest into your page, then
use HttpServeltRequest.getSession() ?

@InjectObject("service:tapestry.globals.HttpServletRequest")
        public abstract HttpServletRequest getServletRequest();


Shing 

--- On Wed, 23/7/08, leonelag <[EMAIL PROTECTED]> wrote:

> From: leonelag <[EMAIL PROTECTED]>
> Subject: T4: how to access the web session from a page ?
> To: users@tapestry.apache.org
> Date: Wednesday, 23 July, 2008, 3:02 AM
> Hi.
> 
> How can I access the web session (class
> javax.servlet.http.HttpSession) from
> a Tapestry4.0 page ? I want this page to place a parameter
> in the session,
> which will be used by another servlet in my app.
> 
> Thanks,
> Leonel
> -- 
> View this message in context:
> http://n2.nabble.com/T4%3A-how-to-access-the-web-session-from-a-page---tp577157p577157.html
> Sent from the Tapestry Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to