- Spring MVC Beginner’s Guide
- Amuthan G
- 126字
- 2021-07-16 11:25:42
Time for action – running the project
As we already configured the Tomcat web server in our STS, let's use Tomcat to deploy and run our project:
- Right-click on your project from Package Explorer and navigate to Run As | Run on Server.
- A server selection window will appear with all the available servers listed; just select the server that we have configured, Tomcat v7.0.
- At the bottom of the window, you can see a checkbox with the caption that says Always use this server when running this project; select this checkbox and enter the Finish button, as shown in the following screenshot:
- Now you will see a web page that will show you a welcome message.