Java類文件中取得request、response、session的方法

在java文件中取得request、response、session能夠經過java

HttpServletRequest request = org.directwebremoting.WebContextFactory.get().getHttpServletRequest();
 web

HttpServletResponse response = org.directwebremoting.WebContextFactory.get().getHttpServletResponse();session

 HttpSession session = request.getSession();rem

取得get

相關文章
相關標籤/搜索