Spring MVC 3 Quick Start

I noticed a good few downloads of mvc-basic.war that I uploaded to box.net a while ago.

mvc-basic is a showcase example from the SpringSource blog that explains some of the improvements in Spring MVC 3

I thought it might be useful to a few to write a quick step by step on how to get it up and running.

Before you start you should have the following installed

  • maven
  • subversion client
  • apache tomcat

I use the subversion client from collabnet

Step 1: open a command prompt and get the source
svn checkout https://src.springframework.org/svn/spring-samples/
Step 2: cd spring-samples\mvc-basic\trunk\
Step 3: mvn clean package
Step 4: Startup tomcat and deploy the mvc-basic.war from the target directory

Leave a Comment