<dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>3.1.2.RELEASE</version> </dependency>
vs
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>3.1.2.RELEASE</version> </dependency>spring-webprovides core HTTP integration, including some handy servlet filters, Spring HTTP Invoker, infrastructure to integrate with other web frameworks and HTTP technologies (Hessian, Burlap)
VSspring-webmvcis an implementation of Spring MVC.spring-webvcdepends on onspring-web, thus including it will transitively addspring-web. You don‘t have to addspring-webexplicitly.
Maven dependency spring-web vs spring-webmvc
原文:http://www.cnblogs.com/liduanwen/p/5177882.html