springboot拦截器怎么让.jsp直接放行呢

大家知道呢怎么,我有个网站,首页是 localhost:8080/ABC/index.jsp;然后如果我在添加拦截器的时候
要把addPathPatterns("/**"),但是我想index.jsp这个不拦截,应该怎么办呢

你是怎么配置的呢是不是像这样的

 registry
    .addInterceptor(getAuthInterceptor())
    .addPathPatterns("/**")
    .excludePathPatterns("/ABC/index.jsp");
    super.addInterceptors(registry);

excludePathPatterns("/ABC/index.jsp")

为什么你的会拦截.jsp访问我的就不会,非常疑惑