Tuesday, 15 August 2017

A Chapter to Discuss | Spring MVC

Spring Bean MVC:-


Spring MVC (Model View Controller) request flow:-
-          The DispatcherServlet configured in web.xml file receive the request.
-          DispatcherServlet find the appropriate controller with the help of HandlerMapping and then invoke associated controller.
-          Controller executes the business logic and then returns ModelAndView object to the DispatcherServlet
-          DispatcherServlet determines the view from the ModelAndView object.
-          DispatcherServlet passess the model object to the view.
-          The view is rendered and DispatcherServlet sends the output to the servlet container.
Please refer below link for details:-


1 comment: