I am new to struts2 and I am trying to use session with SessionAware class option in my action class.
In struts.xml file package is set as json-default. But when try to get value from session then null object is returned. I am not very sure the issue is because I am using package json-default that is the or something else. Could you please help me someone if I am missing any thing..
Also wants to know what is difference between package struts-default and json-default.