Spring MVC process and application benefits

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.