spring3-mvc-maven-annotation-hello-world-master mvn jetty:run
Run this project locally
Terminal
$ mvn jetty:run
URL : http://localhost:8080/spring3
Terminal
your-project$ mvn war:war
A WAR file will be created in project arget folder.
${Project} argetspring3-web-1.0-SNAPSHOT.war
参考:http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example/
http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example-annotation/