티스토리 뷰

Spring

Spring - MVC @ControllerAdvice

엔꾸꾸 2019. 8. 1. 22:17

Spring - @ControllerAdvice

  • 예외처리, 바인딩설정, 모델 객체를 모든 컨트롤러 전반에 적용하고 싶은경우 사용한다.

  • @ControllerAdivce

 

Web on Servlet Stack

Spring Web MVC is the original web framework built on the Servlet API and has been included in the Spring Framework from the very beginning. The formal name, “Spring Web MVC,” comes from the name of its source module (spring-webmvc), but it is more commonl

docs.spring.io

 

 

'Spring' 카테고리의 다른 글

Spring - REST DOCS  (0) 2019.08.15
Spring - HATEOAS  (0) 2019.08.12
Spring - MVC @ExceptionHandler  (0) 2019.08.01
Spring - MVC @InitBinder  (0) 2019.08.01
Spring - MVC @ModelAttribute의 다른사용방법  (0) 2019.08.01
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
글 보관함