官术网_书友最值得收藏!

  • Spring 5.0 Projects
  • Nilang Patel
  • 176字
  • 2021-07-02 12:35:00

Running the application

As we have already configured the deployment to Tomcat, you should have the application running now. You can always download the source code for this book; find the source code under the worldgdp folderAfter downloading, you have to build it using Maven, as follows:

$ mvn package 

The preceding command will run the tests as well. The WAR file worldgdp.war, present in the target, can be uploaded to Tomcat through the Manager app or copied to the TOMCAT_HOME/webapps folder. Tomcat will then explode the archive and deploy the app. 

The following are some of the screenshots of the application in action, starting with the listing page:

Next is the page that displays the country details:

The form that is used to edit the country details is shown in the following screenshot:

Then we have popups that are used to add a new city to the country, as shown in the following screenshot:

Similarly, we have another popup to add a new country language, as shown in the following:

主站蜘蛛池模板: 乌鲁木齐市| 怀化市| 泰来县| 高密市| 玉环县| 塔城市| 于都县| 瓮安县| 昌吉市| 通山县| 沙湾县| 芮城县| 太康县| 柳河县| 开远市| 深州市| 巴林右旗| 成武县| 广南县| 错那县| 通州区| 建湖县| 兴安县| 洪雅县| 日喀则市| 万全县| 洪洞县| 郎溪县| 确山县| 诸城市| 文安县| 哈巴河县| 资兴市| 嘉祥县| 芦溪县| 临城县| 洛川县| 绥阳县| 萨嘎县| 通山县| 漾濞|