Spring MVC schematic diagram

Source: Internet
Author: User

Steps:

  • 1. Initiating a request to the front-end controller ( DispatcherServlet )
  • 2. Front-end Controller Request Processor Mapper ( HandlerMapping ) lookup Handler (can be found based on XML configuration, annotations)
  • 3. Processor Mapper ( HandlerMapping ) back to front controllerHandler
  • 4. The front controller calls the processor adapter ( HandlerAdapter ) to performHandler
  • 5. Processor adapter (Handleradapter) to perform handler
  • 6.Handler returns Modelandview (one underlying object of the SPRINGMVC frame) to the adapter after execution
  • 7. Processor Adapter ( HandlerAdapter ) back to front controllerModelAndView
  • 8. Front Controller ( DispatcherServlet ) Request View Resolver ( ViewResolver ) for view resolution, resolve to Real view (JSP) According to logical view name
  • 9. View resolver (Viewresolver) to the front controller ( DispatcherServlet ) return view
  • 10. Front Controller for view rendering, populating model data (in ModelAndView object) to request domain
  • 11. Front Controller responds to user results

Spring MVC schematic diagram

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.