Understanding of SpringMVC

  Spring action SpringMVC is a Web component framework on the background layer, mainly for receiving a request, in response to the operation data and the like, which is the bottom of the servlet, the encapsulation of SpringMVC Servlet is deeper.

  SpringMVC of the implementation process:

  1, the user sends a request to the background, the background by SpringMVC front controller to receive requests.

  2, front-end controller processor mapper start calling.

  3, the processor looks for the corresponding mapping xml configuration or interceptor, generation processing object is returned to the front controller.

  4, the front end processor controller calls the adapter, and the adapter processors to be processed.

  5, find the corresponding adapter processor by request mapping processing method.

  6, the internal processing method through a series of database operations, operational package into ModelAndView, the mapper returns to the processor, the processor returns to the mapper turn ModelAndView front controller.

  7, a front end view of the controller calls the parser, and to ModelAndView view resolver.

  8, the view in the view parser ModelAndView

  9, the view to the view resolver front controller.

  10, a front end view of the controller for rendering the data and filling

  11, the view presented to the user

    

Guess you like

Origin www.cnblogs.com/luojack/p/11317651.html