Access request session application objects Struts 2

Access request session application objects Struts 2

You could access all scope attribute maps from ActionContext instance only you have to be careful not use constructor of Action class to get ActionContext.getContext() this may return return null for getSession() object:

  • For details please visit struts 2 official tutorial here

Leave a Reply

Your email address will not be published. Required fields are marked *