(1) Spring MVC is an MVC framework, and individuals feel that spring MVC annotation-style development is easier than Struts2, and can be used directly instead of struts above (of course struts as a very mature MVC, Functionally, it's still a bit stronger than spring, but spring MVC is good enough. Of course, Spring MVC performs more efficiently than struts because struts ' value stacks affect efficiency.
(2) Spring MVC is similar to the one of struts's MVC open frames, which are all part of the spring,spring MVC need to have spring's scaffolding as a support to run.
(3) Spring Web MVC is a Java-based lightweight web framework that implements the request-driven type of the Web MVC design pattern, that is, the idea of using the MVC architecture pattern, decoupling the WEB layer from responsibility, and based on the request-driven approach is the use of the request-response model, The purpose of the framework is to help us simplify our development, and Spring Web MVC also simplifies our daily web development.
Spring Web MVC is also an implementation of service-to-worker mode, but is optimized. The front controller is Dispatcherservlet, and the application controller is actually split into a processor mapper (Handler Mapping) for the management of the processor and view Resolver for the Views; Page Controller/action/ The processor is an implementation of the Controller interface (which contains only the Modelandview handlerequest (Request, Response) method), which can also be any Pojo class, support localization (Locale) parsing, Topics (Theme) parsing and file uploading, etc. provide very flexible data validation, formatting, and data binding mechanisms, and provide a powerful contract-like programming support that is larger than the configuration (customary precedence principle).
References: http://jinnianshilongnian.iteye.com/blog/1594806 detailed http://blog.csdn.net/u012228718/article/details/ 43113983 Detailed 2http://blog.csdn.net/qq247890212/article/details/12053469 Summary
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Spring MVC Learning Summary