Hello,
I'd like to get/set session parameters within a custom ActionMapper in Struts2. When I call
Map<String, Object> session = ActionContext.getContext().getSession();
within my custom MyActionMapper
class, session
is null
.
What am I doing wrong? Do i have to configure something to actually have a session?
Thanks, Gregor