Demonstration application showing the use of Content-Negotiation in Spring MVC with multiple Views
The following items should be installed in your system:
- Maven 3 (http://www.sonatype.com/books/mvnref-book/reference/installation.html)
- git command line tool (https://help.github.com/articles/set-up-git)
- Eclipse with the m2e plugin (m2e is installed by default when using the STS distribution of Eclipse: http://www.springsource.org/sts)
Note: when m2e is available, there is an m2 icon in Help -> About dialog. If m2e is not there, just follow the install process here: http://eclipse.org/m2e/download/
- In the command line
git clone [email protected]:paulc4/mvc-content-neg-views
2a) Inside Eclipse/STS
File -> Import -> Maven -> Existing Maven projects
2b) Alternatively, import as Eclipse projects
mvn eclipse:eclipse
File -> Import -> General -> Existing Projects Into Workspace