Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 603 Bytes

File metadata and controls

12 lines (11 loc) · 603 Bytes

What You Will Learn during this Step:

  • Understand importance of DispatcherServlet.

Spring MVC Request Flow

  • DispatcherServlet receives HTTP Request.
  • DispatcherServlet identifies the right Controller based on the URL.
  • Controller executes Business Logic.
  • Controller returns a) Model b) View Name Back to DispatcherServlet.
  • DispatcherServlet identifies the correct view (ViewResolver).
  • DispatcherServlet makes the model available to view and executes it.
  • DispatcherServlet returns HTTP Response Back.
  • Flow : http://docs.spring.io/spring-framework/docs/2.0.8/reference/images/mvc.png