Handling requests in Spring Framework

  1. DispatcherServlet, which receives the request from the client, determines to which controller to send the request.
  2. DispatcherServlet uses HandlerMapping to determine which controller to use.
  3. determined Controller will perform the request.
  4. Controller that processed the request sends the result to the DispatcherServlet.
  5. DispatcherServlet uses ViewResolver retrieves the view.
  6. Send results to View
  7. View displays the results processed in all processes.
  8. Finally, DispatcherServlet ouputs the final result to the client.