在java文件中取得request、response、session可以通过
HttpServletRequest request = org.directwebremoting.WebContextFactory.get().getHttpServletRequest();
HttpServletResponse response = org.directwebremoting.WebContextFactory.get().getHttpServletResponse();
HttpSession session = request.getSession();
取得