After deploying the web project on eclipse, it doesn't put your project files under the tomcat directory. Instead, it is placed under your working directory.
You can find it here: E:\jintao\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps; the red part is the workspace name of eclipse, that is, workspace, you can modify it to your own name
In the past, when using myeclipse, web projects were automatically deployed under the webapps file in tomcat, but eclipse was not.
1. Right-click on tomcat and select "stop". Stop the Tomcat server inside eclipse
2. Right-click on tomcat and select "Add and Remove", delete the project deployed in the container, and click "remove all" to remove all projects, and finish "finish"
3. Right-click on tomcat and select "clean" to clear the container-related data
4. Right-click on tomcat and select "open" to open the modification interface of tomcat
5. Find the servers location, select the second one (User tomcat Installation); modify the deploy path to your own tomcat webapps, and finally "ctr+s" to save and close
Note: The above steps must be operated, otherwise the following steps will be grayed out and cannot be operated. The reason why my last picture is gray is because I have done it again and saved it
Also refer to this post http://bbs.csdn.net/topics/390763495