Appengine部署springMVC3.1

参考:http://sikeh.iteye.com/blog/364043
获得springMVC的方法:http://panyongzheng.iteye.com/blog/1759912

1. mvn archetype:create -DgroupId=com.pandy -DartifactId=study
2. cd study
需要做一些另外的事情,然后再打包,得到的pom.xml如下:

3.mvn dependency:copy-dependencies
所有依赖的jar文件将被复制到target/dependency目录下。得到所有springmvc的依赖包.
并加入:jstl.jar ,standard.jar

4.在eclipse建立appengine项目.

5.web.xml加入:

6.war/WEB-INF/dispatcher-servlet.xml

7.war/views/test.jsp

8.index.jsp

9.Controller

10.http://localhost:8888/index.jsp  测试springmvc