1.获取request
HttpServletRequest request = ServletActionContext.getRequest();
request.setAttribute("request", "request");
2.获取session,application
ActionContext ctx = ServletActionContext.getContext();
Map<String, Object> session = ctx.getSession();
session.put("session", "session");
Map<String, Object> application = ctx.getApplication();
application.put("application", "application");