I have tried the example to get session object from [url]http://www.roseindia.net/struts/struts2/struts2ajax/struts2-session.shtml
Instead of using SessionAware
i tried to get session object as below
ActionContext context =ActionContext.getContext();
It was not working.
Can we get the session object in such a way?
if it is possible i am unable to get the result in JSP page.
<s:property value="#session.ret" />