What is 1.Spring MVC?
Spring Web MVC is a lightweight web framework that implements the request-driven type of the Web MVC design pattern based on Java, that is, the idea of using the MVC architecture pattern, decoupling the WEB layer from responsibility, and using the request-response model based on the request-driven
What is the principle of 2.Spring MVC?
- Client request submitted to Dispatcherservlet
- One or more handlermapping are queried by the Dispatcherservlet controller to locate the controller that handles the request
- Dispatcherservlet submits the request to the controller
- After the controller invokes the business logic processing, it returns Modelandview
- Dispatcherservlet query One or more Viewresoler view resolvers to find the Modelandview specified view
- The view is responsible for displaying the results to the client
Quoting from Daniel's summary of experience learning to learn http://blog.csdn.net/kkdelta/article/details/7274708
The understanding of Spring MVC