<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-web
provides core HTTP integration, including some handy servlet filters, Spring HTTP Invoker, infrastructure to integrate with other web frameworks and HTTP technologies (Hessian, Burlap)
VSspring-webmvc
is an implementation of Spring MVC.spring-webvc
depends on onspring-web
, thus including it will transitively addspring-web
. You don‘t have to addspring-web
explicitly.
Maven dependency spring-web vs spring-webmvc
原文:http://www.cnblogs.com/liduanwen/p/5177882.html