| Java, Eclipse and Web programming Tutorials |
Version 0.4
Copyright © 2009 Lars Vogel
07.02.2010
| Revision History | ||
|---|---|---|
| Revision 0.1 | 24.09.2009 | Lars Vogel |
| Created | ||
| Revision 0.2 | 01.10.2009 | Lars Vogel |
| Installation of Jetty | ||
| Revision 0.3 | 02.10.2009 | Lars Vogel |
| How to start Jetty | ||
| Revision 0.4 | 07.02.2010 | Lars Vogel |
| Added info about the current status of the article | ||
Table of Contents
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.
Download Jetty from Jetty Download and extract the zip file somewhere on your filesystem.
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.
Thank you for practicing with this tutorial.
Please note that I maintain this website in my private time. If you like the information I'm providing please help me by donating.For questions and discussion around this article please use the www.vogella.de Google Group. Also if you note an error in this article please post the error and if possible the correction to the Group.
I believe the following is a very good guideline for asking questions in general and also for the Google group How To Ask Questions The Smart Way.
http://eclipse.org/jetty/ Jetty Homepage