Specific steps:
1, the client sends the request to go through the front-end controller, request by the Spring Front controller Dispatcherservlet obtains, as detailed diagram first step:DISPATCHERSERVL Et parses the request URL (for example, we send a request with the following URL (http://localhost:8080/SpringMVC/hello.action), and we get the request resource Identifier (URI, which is equivalent to the hello.action above).
2. Then the front controller Dispatcherservlet, based on the URI, invokes the processor mapper (handlermapping) to obtain all related objects of the handler configuration (including the handler object and the interceptor corresponding to the handler object). Finally, the processor object is generated and returned to the front controller.
3. The front controller invokes the processor adapter to perform Handler,handler execution to return Modelandview to the adapter and returns Modelandview to Dispatcherservlet.
4, Dispatcherservlet the Modelandview to Viewreslover View parser parsing (parse into JSP), and return to view.
5. Dispatcherservlet view is rendered (the model data is populated into the view).
6. Finally, the result of rendering view is responded to the client.
Core process of Spring MVC (STEP)