----------------------------- SpringMVC understanding -----------------------------, springmvc

Source: Internet
Author: User

----------------------------- SpringMVC understanding -----------------------------, springmvc

1. the user sends a request to the front-end controller (DispatcherServlet );

2. The front-end controller forwards requests to the processor ing (HandlerMapping );

3. The processor er returns the intercepted Action to the front-end controller;

4. The frontend controller will intercept the Action request processor adapter (HandlerAdapter );

5. The processor adapter calls the Action method at the business layer;

6. After the business layer is executed, return ModelAndView;

7. The processor adapter returns ModelAndView to the front-end controller;

8. The front-end controller parses the ModelAndView request view parser;

9. The View parser returns the real physical View parsed by the HandlerAdapter to the front-end controller;

10. The front-end controller renders the View;

11. Return the corresponding view (jstl );

12. present it to users.

Note: The red part is configured in the configuration file and no code is required.

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.