I have tried the example to get session object from [url]http://www.roseindia.net/struts/struts2/struts2ajax/struts2-session.shtml
[/url]
Instead of using SessionAware
i tried to get session object as below
ActionContext context =ActionContext.getContext();
context.getSession().put("ret", "welcome1")
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" />