标签:att session service 数据 conf gets ring ssi info
//先把数据存入session 中
LoginInfo loginInfo = userService.login(userName, password);
request.getSession().setAttribute(Config.USER_SESSION_KEY, loginInfo);
//从session 中取数据
LoginInfo loginInfo = (LoginInfo) request.getSession().getAttribute(Config.USER_SESSION_KEY);
标签:att session service 数据 conf gets ring ssi info
原文地址:http://www.cnblogs.com/javaer-sww/p/7805324.html