Preface
When using MyEclipse and Tomcat for web projects, remember to directly release the web Project to the Tomcat directory.
. When you use Eclipse to develop a web project, Eclipse releases the project to a temporary directory,
The Web project can be run only when Eclipse is enabled. Although the project can be converted into war and published to Tomcat
But there is always no "Auto Release!
So, can you directly publish the web Project to Tomcat's webapps when Eclipse starts the Tomcat server?
In the directory? Of course.
However, before that, we did not ask where to release the project in Eclipse?
In fact, Eclipse releases the web Project to the current workspace by default. metadata \. plugins \ org. eclipse. wst. server. core.
\ Tmp0 \ wtpwebapps readers can go to your workspace to find and find them soon.
We are curious about whether the released directory can be modified? If possible, we can directly modify Tomcat's webapps.
Will the directory be OK soon? Of course.
Procedure
Double-click the Server to ensure that there are no projects under the Server. Otherwise, it cannot be modified. If the project cannot be cleaned after it is deleted, it cannot be modified.
Start Tomcat first.
The configuration dialog box is displayed.
After running the web Project, you will find that the project is directly published to Tomcat. In the future, you do not need to open various windows
Manually released to Tomcat.