HttpServletRequest request =
((ServletRequestAttributes) RequestContextHolder.
getRequestAttributes()).getRequest();
HttpSession session=request.getSession();//创建session对象
HttpServletRequest request =
((ServletRequestAttributes) RequestContextHolder.
getRequestAttributes()).getRequest();
HttpSession session=request.getSession();//创建session对象