servlet-context.xml에서 /* 와 /** 차이점이 궁금해졌다: 

Ant path style patterns 을 이용한 방법이라 한다. ( stackoverflow.com/questions/2952196/ant-path-style-patterns )

 

? : 1개의 문자와 매칭 (matches single character)

* : 0개 이상의 문자와 매칭 (matches zero or more characters)

** : 0개 이상의 디렉토리와 파일 매칭 (matches all files / directories)

 

stackoverflow.com/questions/12569308/spring-difference-of-and-with-regards-to-paths

  1. ? matches one character
  2. * matches zero or more characters
  3. ** matches zero or more 'directories' in a path

2021/03/31:

servlet-context.xml : 

interceptor에서 exclude-mapping

elfinlas.tistory.com/343

 

 

 

 

+ Recent posts