Eclipse JEE Tomcat integration combined with Project deployment

Source: Internet
Author: User

Eclipse Jee integrates with Tomcat, and the eclipse version is the Eclipse-jee-galileo-win32,tomcat version is 6.0. The two software downloads themselves separately. The specific integration steps are as follows:

1, download Sysdeo Tomcat plugin plug-in (Tomcatpluginv321.zip), unzip the file, copy com.sysdeo.eclipse.tomcat_3.2.1 to Eclipse-jee\plugins, (Note: Tomcat6.0 The above version, rename the Devloader.zip to Devloader.jar, then copy it to the Tomcat directory Lib) and then restart Eclipse.

2. After restarting Eclipse, in Window-prdferences-tomcat, the Tomcat directory is set, such as:

After the configuration is complete, there will be more Tomcat startup and stop icons on eclipse, such as:

Project release Tomcat is available in two ways, one through the context and one through Server.xml.

The first type:

The context configuration is as follows:

Tomcat under \conf\catalina\localhost\ in Root.xml (without the file, create a new one), write the following information:

<context docbase= "E:\workspace\ssh\WebRoot" path= "" reloadable= "false"/>

DOCBASE specifies the absolute path of the project to be published, pointing to the Webroot layer.

The second type:

The Server.xml configuration is as follows:

Eclipse JEE Tomcat integration combined with Project deployment

Related Article

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.