Spring MVC processing Process
1) The client initiates a request to the server
2) Request the filter to reach the Dispatcherservlet Front controller and initialize the Spring MVC configuration.
3) Front controller Dispatcherservlet passes the request resource URL to the Handlermapping object processing.
4) The Handlermapping object gets the execution chain object requested by the URL, then executes the interceptor first,
Execute the back-end processor object again
5) encapsulate the processing results of the background controller, such as views and data, into the Modelandview object and return to
Spring MVC
6) The return results of the Spring MVC parsing control layer method, such as the View resolver resolution view, are further processed.
7) End of request processing, return client related information
Spring MVC Application Benefits
1) solve the request and response data processing details of the problem (such as parameter type conversion and assignment and other operations)
2) Better decoupling of objects, simplifying code writing, improving program readability, and maintainability.
Spring MVC process and application benefits