Scene
Many times, when we create projects with lots of configuration settings (such as SSH, SSM), recreating new projects is often time-consuming, and the best way is to replicate the original project.
Solution "1" Copy the configured project
Select the configured project, CTRL + C copy, is a well-configured project.
Ctrl + V paste the project, rename the project, pay attention to the project save location
"2" Modify the project configuration
1. Open Project Properties
2. Modify the context root
At this point, if you send to Tomcat, you will find that when you add to the deployment, the name is
3. Modify Project Settings
Find struct2_02 project in Eclipse workspace
Open the. Settings folder, locate the Org.eclipse.wst.common.component file open, modify the deployment options
After you modify the deployment options, refresh the project. Re-add the deployment.
"3" Test copy Engineering
Project settings that the Eclipse replication Project publishes to Tomcat needs to be modified