How to add tomcat server in Eclipse:
1. Open the eclipse development platform interface and find the "window" in the toolbar at the head "
2. Click the Preferences option in the window, find Server in the opened preferences panel, click Runtime Environments, and then click the "Add" button on the right.
3. In the opened add server interface, select the tomcat server version "Apache Tomcat v7.0" to be added this time and click the "Next" button
4. In the opened tomcat Server Select the tomcat installation path on the interface and click the "Finish" button.
5. Click the Finish button on the previous interface, and click the Ok button again on the returned interface. This completes the configuration of adding the tomcat server in eclipse.
6. After completing the configuration of adding tomcat, find the File-->new-->Dynamic web project interface in eclipse and a drop-down selection of the tomcat server will appear.
7. At this point, it means that you have successfully added the tomcat server in eclipse.
For more technical articles related to Apache, please visit the Apache Tutorial column to learn!
The above is the detailed content of How to use apachetomcat in eclipse. For more information, please follow other related articles on the PHP Chinese website!