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