创建session:
ServletActionContext.getRequest().getSession().setAttribute("update", model);
DutiesScienceEndowScore update = (DutiesScienceEndowScore) ServletActionContext.getRequest().getSession().getAttribute("update");
销毁session:
ServletActionContext.getRequest().getSession().removeAttribute("update");
java:session的创建与销毁,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/linuxyao/p/3734524.html