如何得到DWR中的session等信息

看一眼代码马上就明白.只要引入dwr的包就OK.

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


你可能感兴趣的:(DWR)