Lifecycle

    [스프링] spring MVC life cycle

    [스프링] spring MVC life cycle

    Spring MVC life cycle Filter Web Application의 전역적인 로직을 담당한다. 전체적인 필터링 설정을 하는 곳이다. DispatchServlet에 들어가기 전인 Web Application단에서 실행된다. DispatchServlet (Controller 매핑) *Dispatcher==”배치 담당자” ⇒ Request에 대해서 어느 컨트롤러로 매핑시킬것인지 배치하는 역할 *요청되는 모든 Request를 받아 처리해주는 서블릿HandlerMapping에게 Request에 대해 매핑할 Controller 검색을 요청한다. HandlerMapping으로부터 Controller 정보를 반환받아 해당 Controller와 매핑시킨다. HandlerMapping(알맞은 Controll..