1.SpringMVC a study notes: SpringMVC flow analysis

flow chart

Process Analysis:

1. The client sends a request to the site Request, request processing core controller DispatchServlet

2. The core controller DispatchServlet registered by spring HandlerMapping find the corresponding request Handler (treatment class)

3. Spring container all registered interceptors and packaged as Handler execution chain (HandlerExcutionChain: Handler and set Interceptor)

4. execution returns to the core controller HandlerExcutionChain chain DispatchServlet

The core controller DispatchServlet call adapter HandlerAdapter

6. Adapter Handler HandlerAdapter specific call processing (the process of FIG. 6-13)

7. The adapter returns the result to the core controller ModelAndView DispatchServlet

8. DispatchServlet core controller parses call view resolver ViewResolve

9. DETAILED view resolver ViewResolve view controller returns to the core DispatchServlet

10 core controller DispatchServlet the View returned to the client browser

Released four original articles · won praise 0 · Views 57

Guess you like

Origin blog.csdn.net/qq_25382757/article/details/104572262