- 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
推薦閱讀
- HTML5+CSS3王者歸來
- 現(xiàn)代C++編程:從入門到實踐
- Android開發(fā)精要
- 軟件測試項目實戰(zhàn)之性能測試篇
- Java Web程序設(shè)計
- Learning Firefox OS Application Development
- C語言從入門到精通(第4版)
- 編譯系統(tǒng)透視:圖解編譯原理
- HTML5入門經(jīng)典
- Elasticsearch Server(Third Edition)
- Java系統(tǒng)化項目開發(fā)教程
- Visual Foxpro 9.0數(shù)據(jù)庫程序設(shè)計教程
- 基于ARM Cortex-M4F內(nèi)核的MSP432 MCU開發(fā)實踐
- ElasticSearch Cookbook(Second Edition)
- Go語言開發(fā)實戰(zhàn)(慕課版)