During project development, only the Tomcat server was previously configured, started, and stopped in MyEclipse
If you only want to use the Tomcat server in your machine and do not want to install MyEclipse, you can use Service.bat
By installing Tomcat into the service management system services.msc on your computer, you can use the DOS command to start or
Stop the Tomcat service.
Typically there is a Service.bat file in the Tomcat Bin directory, and if not, go to download one with this file
of Tomcat.
First, Win + R, cmd, Enter Open the cmd window, at this time the working directory is in C drive
Second, D: switch directories to D-disk
Third, the CD xx\xx\bin directory switch to the Tomcat bin directory
Four, service install Tomcat service items installed
V, Win + R, services.msc, Enter Open the Service management interface and find the Tomcat service item
determine that the Tomcat service has install, and right-click on the name of the service, mine is TOMCAT7.
Six, Win + R, cmd, Enter, net start tomcat7 start Tomcat
VII. NET stop TOMCAT7 stop Tomcat
Note: The Java that you need to install in your computer
Install Tomcat service under Windows using Service.bat, start stop tomcat service