Hi,

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 
httpServletRequest.getSession(false).getAttribute(SessionId);

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.
  (*Chris*)

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

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



 

Reply via email to