81,091
社区成员
发帖
与我相关
我的任务
分享
Tstu stu = new Tstu();
stu.setId(rs.getInt("id"));
stu.setName(rs.getString("name"));
WebContext ctx = WebContextFactory.get();
HttpSession session = ctx.getSession();
session.setAttribute("stu", stu);