The default eclipse project deployment path (. Metadata \. Plugins \ org. Eclipse. WST. Server. Core \ tmp0 \ wtpwebapps) is changed to its own Tomcat real path method

Configure eclipse development environment, JDK installation path and Tomcat installation path. Create a dynamic web project project zhgy under eclipse. When using a new Tomcat in eclipse to publish dynamic web project by starting the tomcat, the project is not published to webapps where the Tomcat installation directory is located. This can be viewed in the webapps directory of the Tomcat installation directory above. From the console output at startup, the project is published to the following directory:

Information:

When you open this directory, you can clearly see that zhgy such a folder exists, which is the project directory we can access now.

Open D: \ workspace \ Metadata\. plugins\org. eclipse. wst. server. Core\tmp0\ directory as like as two peas, you can see that the directory structure is exactly the same as that of D:\Tomcat 6, but just a wtpwebapps directory. Actually, D: \ workspace \ Metadata\. plugins\org. eclipse. wst. server. The core \ tmp0 \ directory is a clone of the D: \ Tomcat 6.0 directory of eclipse, which makes D: \ workspace \ Metadata\. plugins\org. eclipse. wst. server. Core \ tmp0 \ can also have the function of source server.

If you add several more servers, they will be displayed in D: \ workspace \ Metadata\. plugins\org. eclipse. wst. server. co

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>