Add a tomcat server in eclipse

Source: Internet
Author: User
Tags tomcat server

Prerequisite: Tomcat has been installed on the computer

1. Open Eclipse,window->preferences->server->runtime Environments

2. Add-> Select the version->next-> the Tomcat installation path that corresponds to the installed Tomcat->finish->ok

3. Create and deploy a Dynamic Web project

4. After deploying the Web project (before starting the server) some configuration, double-click the server

A. In the default configuration, the location of the project deployment is as follows:

Modify the configuration to have the Web project deployed to the Tomcat WebApps directory installed on our computer and modify the

B. Another modification is intended to not allow Tomcat to reload automatically when the Web project changes during development

After you complete the above changes, close the server window and prompt to save the changes

Add a tomcat server in eclipse

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.