-getServletPath VS getRequestURI
getServletPath() - exclude contextPath
getRequestURI() - include contextPath
- @RequestMapping value & url
https://stackoverflow.com/questions/7592933/get-requested-valueurl-when-using-requestmapping-annotations
- url
https://m.blog.naver.com/PostView.naver?blogId=marnet&logNo=80201632529&proxyReferer=https:%2F%2Fwww.google.com%2F
- aspect
https://starplatina.tistory.com/m/entry/Spring-MVC%EC%9D%98-RequestMapping-%EC%A0%95%EB%B3%B4-%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0
'spring' 카테고리의 다른 글
@Conditional (0) | 2022.08.23 |
---|---|
deep copy Object (0) | 2022.04.04 |
ResourceUtils를 이용한 Access a File from the Classpath-classpath에 위치한 파일 절대경로 구하기 (0) | 2020.07.29 |
Server Sent Event (SSE)를 이용한 알림 구현하기 (0) | 2018.08.30 |
viewResolver 우선순위 (0) | 2018.08.08 |