SPRINGMVC Overall architecture

Source: Internet
Author: User

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

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.