Prerequisite: Tomcat has been installed on the computer
1. Open Eclipse,window->preferences->server->runtime Environments
2. Add-> Select the version->next-> the Tomcat installation path that corresponds to the installed Tomcat->finish->ok
3. Create and deploy a Dynamic Web project
4. After deploying the Web project (before starting the server) some configuration, double-click the server
A. In the default configuration, the location of the project deployment is as follows:
Modify the configuration to have the Web project deployed to the Tomcat WebApps directory installed on our computer and modify the
B. Another modification is intended to not allow Tomcat to reload automatically when the Web project changes during development
After you complete the above changes, close the server window and prompt to save the changes
Add a tomcat server in eclipse