【session】java.lang.IllegalStateException: getAttribute: Session already invalidated
1、问题定位:在执行/***设置用户到session**@paramsession*@paramuser*/publicstaticvoidsaveUserToSession(HttpSessionsession,Useruser){session.setAttribute(USER,user);}session.setAttribute(USER,user)方法时会报这个异常2、原因:从Sess