java类文件获取页面的request,session.response

HttpSession session = WebContextFactory.get().getSession();
HttpServletResponse response = WebContextFactory.get().getHttpServletResponse();
HttpServletRequest request = WebContextFactory.get().getHttpServletRequest();

 转:

http://blog.csdn.net/czmchen/article/details/5734043

你可能感兴趣的:(response)