Example & Tutorial understanding programming in easy ways.

What is the Request process lifecycle of Spring 3.0 MVC in Java?

 Following is the Request process lifecycle of Spring 3.0 MVC:
 1 The client sends a request to web container in the form of http request.
 2 This incoming request is intercepted by Front controller (DispatcherServlet) and it will then tries to  find out appropriate Handler Mappings.
 3 With the help of Handler Mappings, the DispatcherServlet will dispatch the request to appropriate  Controller.
 4 The Controller tries to process the request and returns the Model and View object in form of  ModelAndView instance to the Front Controller.
 5 The Front Controller then tries to resolve the View (which can be JSP, Freemarker, Velocity etc) by  consulting the View Resolver object.
 6 The selected view is then rendered back to client.

Read More →