存
1
|
ActionContext.getContext().getSession().put(
"teacherlist"
, teacherlist);
|
取
1
|
teacherlist=(List<Teacher>) ActionContext.getContext().getSession().get(
"teacherlist"
);
|
清除
1
|
ActionContext.getContext().getSession().clear();
|