Using Tomcat in Eclipse

Source: Internet
Author: User

Recently wrote a product search module, to make Tomcat services, previously only focus on algorithms, never used Tomcat, this time on the Internet to check some information is also done (small companies are really exercise people ah, before I never consider these service problems).

1. The construction of Tomcat environment

Download the tomcat compression package directly from the Internet and unzip it.

2. Connection between Eclipse and Tomcat

A) search for Tomcat directly in the Eclipse App Store, and then I picked up a more Tomcat plugin in the results and installed it directly.

b) Configure the Tomcat version and other information in Eclipse (Server.xml is selected here to configure the virtual path when you add Tomcat project)

  

3. Start Tomcat

Three kitten-like icons in the toolbar

  

Click on the far left kitten to launch Tomcat and you can see the following information when you start the console successfully

  

Of course, directly in the browser input http://localhost:8080/can also see the information after the launch, if the start is successful, then the following page

  

4. Add a project to Tomcat project

A) Right-click on the project to->properties the following configuration (this image is from the Internet)

  

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.