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

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:

主站蜘蛛池模板: 太康县| 南宁市| 洪泽县| 南皮县| 樟树市| 阜新| 石家庄市| 孟津县| 万州区| 花莲市| 兴义市| 通州区| 光山县| 合作市| 通城县| 大邑县| 绥德县| 乌鲁木齐县| 当雄县| 小金县| 江川县| 施秉县| 宜都市| 屏南县| 临城县| 九江县| 闽侯县| 扎兰屯市| 锡林郭勒盟| 岚皋县| 诸城市| 海安县| 高碑店市| 甘肃省| 西峡县| 兴化市| 杂多县| 开化县| 弥勒县| 庆安县| 婺源县|