--- "Srinivas.N." <[EMAIL PROTECTED]> wrote:
> How do I invalidate the session?

You'd probably need to implement ServletRequestAware
[1] and get the session from the request.

and get the session from there.

You could use ServletActionContext [2] but that might
have a negative impact on testability; I haven't
really given that any thought. (Has anyone else? Now
I'm kinda curious.)

d.

[1]
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/ServletRequestAware.html
[2]
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/ServletActionContext.html



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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

Reply via email to