struts2中的request,response,session

来源:互联网 发布:淘宝同学课程助手 编辑:程序博客网 时间:2024/04/30 05:43

ActionContext    context = ActionContext.getContext();

MapSession session = ActionContext.getSession();

HttpServletRequest  request = ServletActionContext().getRequest();

HttpServletResponse  response = ServletActionContext().getResponse();


原创粉丝点击