HttpSession session = WebContextFactory.get().getSession();
HttpServletResponse response = WebContextFactory.get().getHttpServletResponse();
HttpServletRequest request = WebContextFactory.get().getHttpServletRequest();
转:
本文介绍了如何使用WebContextFactory获取Web应用中的关键对象,如HttpSession、HttpServletResponse及HttpServletRequest等,这对于理解Web应用的工作原理至关重要。
HttpSession session = WebContextFactory.get().getSession();
HttpServletResponse response = WebContextFactory.get().getHttpServletResponse();
HttpServletRequest request = WebContextFactory.get().getHttpServletRequest();
转:

被折叠的 条评论
为什么被折叠?