- Spring MVC:Beginner's Guide(Second Edition)
- Amuthan Ganeshan
- 177字
- 2021-07-14 10:49:46
Deploying our project
We successfully created the project in the last section, so you might be curious to know what would happen if we run our project now. As our project is a web project, we need a web server to run it.
Time for action - running the project
As we have 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 v8.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:
Configuring the default server for a Spring MVC project
- Now you will see a web page that will show you a welcome message.
Showing the welcome page of the web store
推薦閱讀
- Unity 2020 By Example
- VMware View Security Essentials
- 精通JavaScript+jQuery:100%動態網頁設計密碼
- FreeSWITCH 1.8
- Beginning C++ Game Programming
- 程序員面試筆試寶典
- Instant Typeahead.js
- Python Network Programming Cookbook(Second Edition)
- R Deep Learning Cookbook
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- C++反匯編與逆向分析技術揭秘(第2版)
- HTML5權威指南
- JavaScript動態網頁編程
- Building Dynamics CRM 2015 Dashboards with Power BI
- Modernizing Legacy Applications in PHP