Package org.fto.jthink.j2ee.web

Examples of org.fto.jthink.j2ee.web.HttpSession


    /* 设置资源容器, WEBApplicationContext上下文 */
    setResourceContainer(WEBApplicationContext.class.getName(), webContext);

    /* 设置资源容器, HttpSession用户会话 */
    HttpSession session = new HttpSession(((HttpServletRequest)req).getSession());
    setResourceContainer(HttpSession.class.getName(), session);
   
    /* 设置资源容器, HttpRequest请求 */
    HttpRequest request = new HttpRequest(req);
    setResourceContainer(HttpRequest.class.getName(), request);
View Full Code Here


     
      /* 设置资源容器, WEBApplicationContext上下文 */
      resManager.setResourceContainer(WEBApplicationContext.class.getName(), webContext);

      /* 设置资源容器, HttpSession用户会话 */
      HttpSession session = new HttpSession(((HttpServletRequest)req).getSession());
      resManager.setResourceContainer(HttpSession.class.getName(), session);
     
      /* 设置资源容器, HttpRequest请求 */
      resManager.setResourceContainer(HttpRequest.class.getName(), request);
     
View Full Code Here

TOP

Related Classes of org.fto.jthink.j2ee.web.HttpSession

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.