标签:style blog http io color ar os sp java
Maven项目下HttpServletRequest 或 HttpServletResponse需引用的依赖包:servlet-api.jar,并将scope设置为provided。
pom.xml
1 <dependency> 2 <groupId>javax.servlet</groupId> 3 <artifactId>servlet-api</artifactId> 4 <version>2.5</version> 5 <scope>provided</scope> 6 </dependency>
参考:http://www.mkyong.com/maven/get-httpservletrequest-via-maven-repository/
Maven项目下HttpServletRequest 或 HttpServletResponse需引用的依赖包
标签:style blog http io color ar os sp java
原文地址:http://www.cnblogs.com/AloneSword/p/4095748.html