Java Learning -031-javaweb_001--Tomcat environment deployment and basic configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.