Json data to publish a local Tomcat server

1. Start the tomcat server (the client can also be launched directly oh)

Here Insert Picture DescriptionHere Insert Picture Description
This time, the local server has been built up. If you want to shut down the server, you can close the window directly above or enter Ctrl + C in which service is prohibited.

First, check your computer's ip address, ip address of my computer is: 192.168.1.112.

Enter in your browser http://192.168.1.112:8080/ (or type http: // localhost: 8080 / is also possible). If the following interface pops up, enter the local server's home page, and represents the tomcat installation is successful start up:
see your own port, my port is 8081
Here Insert Picture Description

Now through a sample program to explain how the SAX parsing XML file, the sample program is run on the Android platform, in order to simulate the real situation on the tomcat server placed a two static XML file: zsjdata.json and zsjdata.json, the former representative of the object, which represents an array of objects. That is in D: \ apache-tomcat-8.0.14 \ webapps \ ROOT directory, create a new file zsjdata.json and zsjdata.json.
Here Insert Picture Description

Published 545 original articles · won praise 129 · views 40000 +

Guess you like

Origin blog.csdn.net/weixin_43838785/article/details/104236782