sturts2 中request response session application对象的获取方法

HttpServletRequest request= ServletActionContext.getRequest();
HttpServletResponse response=ServletActionContext.getResponse();
HttpSession session=request.getSession();
ServletContext application=request.getSession().getServletContext();

 

你可能感兴趣的:(sturts2)