Personally, I'd use SessionAware and reduce coupling even further.
The docs for both methods should answer this question fairly completely.
The session is exposed as a map in S2, and as a servlet spec artifact in S1.
Dave
On Wed, May 8, 2013 at 12:15 PM, john lee wrote:
>
> for stuts 1, to
for stuts 1, to get session, via the following
session=request.getSession();
session.setAttribute("PERSON", person); /* person is object name */
for struts 2, to get session, via the following
Map session=ActionContext.getContext().getSession();
session.put("PERSO
2 matches
Mail list logo