O'Reilly logo

Instant Spring Tool Suite by Geoff Chiang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Spring MVC project (Must know)

This recipe will guide you through the creation of a simple Spring MVC web application, and will show you how to deploy and run your application in a servlet container.

How to do it...

Let's create our new project using a project template and update our project's Spring libraries.

  1. Launch the New Spring Project wizard by selecting File | New | Spring Project from the menu.
  2. Enter WebProject as the project name and select the Spring MVC Project template. Click on the Next button. Allow STS to download the template if it has not already done so.
  3. In the Project Settings dialog box, enter com.example.webproject as the top-level package, then click on the Finish button. The project will be created and will appear ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required