java中创建Session对象

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

你可能感兴趣的:(java,大数据,javascript)