Summarize:
1, the user initiates the request to the front-end controller (dispatchservlet);
2, the front controller does not have the ability to deal with business logic, need to find specific Model object processing (Handler), to the processor mapper to find Handler objects;
3, handlermapping return to the execution chain, including 2 parts of the content
A) Handler object
b) Interceptor Array (list)
4, the front controller through the adapter packaging after the execution of handler objects;
5. Handling Business logic
6, Handler processing business logic, return the Modelandview object, where view is the view name, not the real view object;
7, return the Modelandview to the front controller;
8, the front-end controller through the view name to the view parser to find the view;
9. The view parser returns the Real View object (views);
10, the front-end controller based on the model data and view objects, the view rendering;
11. Return to the rendered view (Html/json/xml)
12, to the user to generate a response
SPRINGMVC Overall architecture