Using the sessionAware interceptor may fix your scenario http://struts.apache.org/release/2.0.x/struts2-core/apidocs/org/apache/struts2/interceptor/SessionAware.html
http://www.itinpractice.com/tutorials/403/implementing-sessionaware-interface.html#.UiV9KNI6BQ4 http://struts.apache.org/development/2.x/docs/http-session.html On Tue, Sep 3, 2013 at 11:35 AM, Srineel Mazumdar <smaz19...@gmail.com>wrote: > Hi All, > > I am migrating an application from Struts 1 to Struts 2 and frequently I am > facing scenarios where I need to use request.getSession to set/get > attributes. As far as my knowledge goes, this is not considered to be a > best practice in Struts 2. What is the best was way to handle this scenario > ? > > Regards, > Srineel > -- NIJO GEORGE P Follow me on Twitter <http://www.twitter.com/nijogeorgep> Add me as Friend <http://www.facebook.com/nijogeorgep> View my Profile on LinkedIn <http://in.linkedin.com/in/nijogeorgep> +918089699703