Struts 访问Servlet API


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

© 2012, 冰冻鱼. 请尊重作者劳动成果,复制转载保留本站链接! 应用开发笔记