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
- ? matches one character
- * matches zero or more characters
- ** matches zero or more 'directories' in a path
2021/03/31:
servlet-context.xml :
interceptor에서 exclude-mapping
'웹 스프링' 카테고리의 다른 글
form 에서 400 에러 발생시 (0) | 2021.04.14 |
---|---|
21.03.31 (0) | 2021.04.01 |
sql like 쿼리 오류 해결 (스프링 mapper.xml) (0) | 2021.03.05 |
[웹 스프링] 구글 로그인 관련 정보 (0) | 2021.03.04 |
[웹 스프링 Spring ] BootstrapCDN 사용법 (0) | 2021.02.24 |