现在的位置: 首页 > 综合 > 正文

struts2中的request,response,session

2012年09月20日 ⁄ 综合 ⁄ 共 225字 ⁄ 字号 评论关闭

ActionContext    context = ActionContext.getContext();

MapSession session = ActionContext.getSession();

HttpServletRequest  request = ServletActionContext().getRequest();

HttpServletResponse  response = ServletActionContext().getResponse();

抱歉!评论已关闭.