The understanding of Spring MVC

Source: Internet
Author: User

What is 1.Spring MVC?

Spring Web MVC is a lightweight web framework that implements the request-driven type of the Web MVC design pattern based on Java, that is, the idea of using the MVC architecture pattern, decoupling the WEB layer from responsibility, and using the request-response model based on the request-driven

What is the principle of 2.Spring MVC?

  1. Client request submitted to Dispatcherservlet
  2. One or more handlermapping are queried by the Dispatcherservlet controller to locate the controller that handles the request
  3. Dispatcherservlet submits the request to the controller
  4. After the controller invokes the business logic processing, it returns Modelandview
  5. Dispatcherservlet query One or more Viewresoler view resolvers to find the Modelandview specified view
  6. The view is responsible for displaying the results to the client

Quoting from Daniel's summary of experience learning to learn http://blog.csdn.net/kkdelta/article/details/7274708

The understanding of Spring MVC

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.