Access request session application objects Struts 2

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:

Get HttpServletResponse Struts 2

Get HttpServletResponse Struts 2

Get HttpServletResponse Struts 2 There two ways you could access HttpServletResponse Struts 2 by using ServletActionContext or by implementing ServletResponseAware interface and implements its setServletResponse method.

Struts 2 XLS Download

Struts 2 XLS Download

Struts 2 XLS Download In report creation series today you will see how to generate XLS report in Struts 2 application. Based on client request server will generate XLS file and attach to the response where¬†client will be able to … Continue reading