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

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:

主站蜘蛛池模板: 菏泽市| 深州市| 松原市| 雷山县| 无棣县| 津南区| 巴彦淖尔市| 遂平县| 湘阴县| 高唐县| 巴彦县| 隆德县| 灵山县| 蓬莱市| 嫩江县| 乌苏市| 香港 | 遂平县| 新营市| 白山市| 温州市| 西和县| 革吉县| 微山县| 景东| 松阳县| 龙南县| 新安县| 鲁甸县| 永新县| 海南省| 综艺| 樟树市| 昌都县| 吴旗县| 扬中市| 惠州市| 旺苍县| 阿勒泰市| 抚松县| 神池县|