JAVA "eclipse--First lesson Tomcat

Source: Internet
Author: User

Onego to www.apache.org Web pageTwopull down the page, and then act as

Threeafter entering, select the desired Tomcat version on the left side of the page

FourSelect a 64-bit operating system with the same system type as the native

Fivethen the bottom left corner will start to download

after download, open, unzip

SixOpen the Unpacked folder and it will appear as

SevenDouble-click Startup.bat to start the service

(i) Common methods

Enter DOS command, input java-version check if JDK version is consistent

Open Task Manager, in the process, the Java.exe indicates that the service started successfully

Enter 127.0.0.1:8080 or localhost:8080 into the port in the browser, which appears as shown, indicating success

(ii) reduced start-up time tips First, click Shutdown.bat to close the service \ End Java.exe process in Task Manager

Then, empty all files in the root folder in WebApps and four folders other than root

Click Startup.bat again in the bin file directory to open the service

At this point, the start time of the service will be less than before, but there will be an error when entering the browser again

EightIf you want someone else to visit your Web page on your computer, first turn off your firewall, as detailed below

NineEnter ipconfig in the DOS command to display the IP address of the machine, and then let other people enter your IP address in the browser, you can access your Web page

JAVA "eclipse--First lesson Tomcat

Related Article

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.