Struts2中获取request,response,session对象
Java代码
HttpServletRequest request = ServletActionContext.getRequest();
HttpServletResponse response=ServletActionContext.getResponse();
HttpSession session=request.getSession();
作者“helinhang”
补充:软件开发 , Java ,