session值的使用
时间:2014-05-09 09:21:33
收藏:0
阅读:236
将对象放入session:
ActionContext.getContext().getSession().put("stu_id",id);
将session值取出来使用:
Integer id = (Integer) ActionContext.getContext().getSession().get("stu_id");
评论(0)