在dwr中取session,request,response

/** 在dwr中取session,request,response */
WebContext webContext = WebContextFactory.get(); 
HttpSession session = webContext.getSession();
HttpServletRequest request=webContext.getHttpServletRequest();
HttpServletResponse response=webContext.getHttpServletResponse();

你可能感兴趣的:(DWR)