struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Session ID
Date Fri, 15 Aug 2008 09:56:06 GMT


For ActionClass implement ServletRequestAware then one abstract method is created for httpServletRequest,
and it implement that method.

By using that httpServletRequest? u can call ur session variable 

In our project im getting the values from session like this only.




I usually implement ServletRequestAware so that I can call
request.getSession().getId().  I would love to see them add that value to
the SessionMap but it's not there at the moment.

On Fri, Aug 15, 2008 at 12:45 AM, Hrvoje Ban <> wrote:

> Hi!
> How can I get session ID from inside a Struts2 interceptor?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message