How to configure Tomcat using the Tomcat sysdeo plug-in eclipse

Source: Internet
Author: User
Tags jboss

1. Configure the Tomcat sysdeo plug-in to the tomcat installation directory (Window -> Preferences-> Tomcat).

2. Tell the created project that it is a web project based on the sysdeo plug-in (Project-> right-click Properties-> Tomcat).

The context name item corresponds to path, and the subdirectory to set as Web application root item corresponds to docbase. If it is not set or set to backslash/, docbase = "F: /Eclipse/workspace/JBoss-seam-JPA ".

<Context Path = "/JBoss-seam-JPA" reloadable = "true"

Docbase = "F:/Eclipse/workspace/JBoss-seam-JPA/webcontent"

Workdir = "F:/Eclipse/workspace/JBoss-seam-JPA/Work">

</Context>

3. Now update/define the context of the project in Tomcat (Server. Xml/orProject-Name. XML will be updated)

Note:

1. If you right-clickProjectNoTomcat ProjectIs not configured in step 2.

2. This configuration is not suitable for myeclipse. If myeclipse is used, noTomcat Project.

 

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.