The process of deploying a project developed by eclipse to Tomcat ---> waiting for confirmation!

Source: Internet
Author: User

The following are also found in various searches on the Internet. Here we will make a summary record.

1. Right-click the project in eclipse, and select war file in export to generate the war file of the project.

2. Place the generated war file in the webapps folder after Tomcat decompression.

3. configure Server. XML in the conf folder of Tomcat:

Add the following between Code:

<Context Path = "/" docbase = "F:/tomcat/webapps" DEBUG = "0" reloadable = "true" crosscontext = "true"> </context>

4. start Tomcat. Double-click STARTUP. bat in the bin directory of the Tomcat decompression file.

5. Enter http: // localhost: 8080/project/index. jsp in the browser.

I still don't quite understand the specific meaning of the properties in the configuration file. I will add them when I am free next time.

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.