Installation and configuration of 1.Eclipse
Slightly
Installation and configuration of 2.Tomcat
Slightly
Configuring Tomcat in 3.Eclipse
1) Window-references-server-runtime environments, select Add;
2) Select the appropriate Tomcat version, tick the Create a new local server option, and click Next to proceed to the next step;
3) Browse Select the appropriate tomcat installation path and click Finish to complete the configuration of Server runtime environment;
4) You can see the configured server in the server window;
5) Click the Startup server to start the server, the console appears following server startup in the XXX Ms prompt indicating that the servers started successfully.
6) Note that accessing localhost:8080 at this time is not successful, and unlike booting Tomcat directly with DOS, you need to establish a Web project in Eclipse for successful access.
[Servlet] Configuration of Tomcat in eclipse