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.
Let's create our new project using a project template and update our project's Spring libraries.
WebProjectas 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.
com.example.webprojectas the top-level package, then click on the Finish button. The project will be created and will appear ...