Action中的存取

原文地址

1
ActionContext.getContext().getSession().put( "teacherlist" , teacherlist);

1
teacherlist=(List<Teacher>) ActionContext.getContext().getSession().get( "teacherlist" );

清除

1
ActionContext.getContext().getSession().clear();

猜你喜欢

转载自blog.csdn.net/zcy_wxy/article/details/80640590
今日推荐