First to the TOMCAT official website, download the corresponding version, my native system is WIN7 64BIT, so I chose the 64bit zip package, as shown:
After the download, the directory tomcat corresponding directory structure is as follows:
Tomcat boot: Go to the installation directory Apache-tomcat-8.0.26\bin, double-click Startup.bat to start Tomcat.
As shown in the Startup window, the corresponding port number can be viewed in the Startup window.
Before starting to see if the port number 8080 is occupied, if it is used to modify the corresponding port number, modify the port number of the configuration file path is: Apache-tomcat-8.0.26\conf\server.xml, modify the port shown below, reboot.
Verifying Tomcat
Open any browser, enter in the Address bar: http://localhost:8080/, see if the page appears as shown, if it appears, the initial configuration is successful.
To modify the default startup file
Modify the default startup page profile path to: Apache-tomcat-8.0.26\conf\web.xml, based on the order of configuration, Priority index.html > index.htm > Index.jsp > Default.html.
At this point, Java Learning -032-javaweb_001-tomcat environment deployment and basic configuration of the smooth end, I hope this article can give beginners javaweb you a reference.
Finally, very grateful to the pro-stop, I hope this article can be pro helpful. Warmly welcome the kiss to discuss together and progress together. Thank you so much! ^_^
Java Learning -031-javaweb_001--Tomcat environment deployment and basic configuration