Install and configure jetty in eclipse

Source: Internet
Author: User

Jetty is an open-source servlet container.Java language.

Jetty also has corresponding Maven plug-insRun-jetty-run,In Maven, if Jetty is used as a plug-in, you need to modify the setting. xml file of Maven before using the command MVN jetty: Run.

The following describes how to install jetty in Eclipse:

1. Help-> install new software

 

2, Enter: http://run-jetty-run.googlecode.com/svn/trunk/updatesite (Version 1.3.2 is recommended.)

3. It will be automatically downloaded, as shown in figure after the download is complete.

4. continue next )...

5. Click Finish to start installation.

5. After the installation is complete, click restart now to restart.

Right-click a project and choose start from the shortcut menu:

Jetty started

Run URL: http: // localhost: 8080/struts2example/index. jsp

Jeyyt webapp Configuration:

 

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.