You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
great-park
changed the title
Spring MVC에서 컨트롤러의 리턴 타입이 ModelAndView가 아닐 경우, DispatcherServlet은 어떠한 처리 과정을 거치는가?
컨트롤러의 리턴 타입이 ModelAndView가 아닐 경우, DispatcherServlet은 어떠한 처리 과정을 거치는가?
Apr 23, 2023
@controller의 실행 흐름
Client -> Dispatcher Servlet -> Handler Mapping -> Handler Adapter ->
Controller -> Handler Adapter -> Dispatcher Servlet -> ViewResolver -> -View >Client
@RestController의 실행 흐름
Client -> Dispatcher Servlet -> Handler Mapping -> Handler Adapter ->
RestController (자동 ResponseBody 추가)-> Handler Adapter -> Dispatcher Servlet -> HTTP Response -> Client
The text was updated successfully, but these errors were encountered: