The Eclipse Java EE version configures Tomcat and publishes the project to Tomcat

Source: Internet
Author: User

1. Download the latest Eclipse Java EE version, as: http://www.eclipse.org/downloads/, note that you must choose Java EE version,


2.Tomcat download, link to: http://tomcat.apache.org/

3. Download the Eclipse Tomcat plugin as: http://download.csdn.net/detail/longshengguoji/7872783

4. Unzip the downloaded plugin and copy the jar file to the plugin folder in the Eclipse directory

5. Restart Eclipse and you will find several Tomcat icons on the Eclipse interface


6.eclipse configuration: Click the window--preference option, click the Tomcat option in the pop-up window, select the Tomcat version and the installation directory,


7. Then click Server--runtime Environment to add the running environment



At this point, the Tomcat is configured successfully and a Web engineering test is set up below

8. In Eclipse, click File--new--dynamic Web Project


9. Enter the project name in the popup window, select the Tomcat runtime environment and the servlet version

10. View Project, Catalogue


11. Create a new JSP folder in the WebContent directory, name index, and add the following statement to the index.jsp body


12. Right-Hellotomcat The project, select Run as-run on server, if the following interface appears to show that the program is running successfully.



Eclipse Java EE version configuration tomcat and publish the project to Tomcat

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.