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