vogella.de

Follow me on twitter
About Lars Vogel
Flattr this

Jetty

Lars Vogel

Version 0.4

07.02.2010

Revision History
Revision 0.124.09.2009Lars Vogel
Created
Revision 0.201.10.2009Lars Vogel
Installation of Jetty
Revision 0.302.10.2009Lars Vogel
How to start Jetty
Revision 0.407.02.2010Lars Vogel
Added info about the current status of the article

Jetty

This articles gives an small overview over Jetty, its installation and how to start the Jetty server. You find much more information on the Jetty homepage (see resources).


Table of Contents

1. Overview
2. Installation
3. Start Jetty
4. Thank you
5. Questions and Discussion
6. Links and Literature

1. Overview

Jetty is a web container. It has the following "core components":

  • Http Server

  • Servlet Container

  • HTTP Client

The current version of Jetty is Jetty 7 which supports the Servlet API 2.5 and JSP 2.1.

2. Installation

Download Jetty from Jetty Download and extract the zip file somewhere on your filesystem.

3. Start Jetty

To start Jetty, switch on the command line to the installation directory and start Jetty via the command:

			
jar -jar start.jar

		

This should start Jetty on http://localhost:8080/

To stop Jetty press Cntr+C.

4. Thank you

Thank you for practicing with this tutorial.

I maintain this tutorial in my private time. If you like the information please help me by using flattr or donating or by recommending this tutorial to other people.

Flattr this

5. Questions and Discussion

Before posting questions, please see the vogella FAQ . If you have questions or find an error in this article please use the www.vogella.de Google Group . I have created a short list how to create good questions which might also help you. .

6. Links and Literature

http://eclipse.org/jetty/ Jetty Homepage