Graphic tutorial of integrating Tomcat into eclipse in Windows
The eclipse Java EE IDE for web developers 4.7 is used here 1a,Apache Tomcat 8.0. 47。
Both depend on JDK. Please install and configure JDK in advance.
First, to download tomcat, the download address is: https://tomcat.apache.org/download-80.cgi , download the 64 bit windows zip.
After downloading, it is as follows:
Unzip it to the software installation location and add the bin path of Tomcat to the system environment variable.
Right click computer, select properties - > advanced system settings - > environment variables - > system variables, select path and click Edit
Click "new" and add e: \ program files \ apache-tomcat-8.0 47 \ bin to path (subject to your own installation path)
Then click "OK" to save.
In this way, double-click startup. Com under the bin directory of Tomcat Bat. After Tomcat is started, use the browser to access it, and you can see the following page
Note: Tomcat has been installed. Double click shutdown. In the bin directory Bat to close Tomcat.
Next, configure the Tomcat runtime environment in eclipse. Open eclipse and click "window" to select
"Preferences", click "server", click "runtime environments", click "add...", Select Tomcat 8 and click "next",
Click "Browse...", Select the installation location of tomcat, click finish, and then click apply and close to save and close.
After completion, there will be an additional server under Project Explorer, which is the service of Tomcat. Double click Tomcat again, set the timeout, and save with Ctrl + s.
When the project is relatively large, the original timeout is not enough. Increase it.
In this way, Tomcat is integrated into eclipse.
The above graphic tutorial on integrating Tomcat into eclipse in windows is all the content shared by Xiaobian. I hope it can give you a reference and support more programming tips.