Directly publish the web Project to Tomcat's webapps in Eclipse

Source: Internet
Author: User

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.



 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.