@Configuration
public class SpringWebConfig extends WebMvcConfigurationSupport {

    @Override
    public void configurePathMatch(PathMatchConfigurer configurer) {
        AntPathMatcher pathMatcher = new AntPathMatcher();
        pathMatcher.setCaseSensitive(false);
        configurer.setPathMatcher(pathMatcher);
    }

}

 

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-11-01
  • 2022-01-25
  • 2021-09-14
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-22
  • 2021-06-21
  • 2021-06-26
  • 2022-01-03
  • 2021-09-09
  • 2022-12-23
相关资源
相似解决方案