# Jetty Tutorial

## Using the tutorial

If you just want to learn how to run a stand-alone Jetty server with the demonstrations supplied, start at the Getting Started section. This should give you a good feel for Jetty. The Basics section provides an overview of the various ways in which Jetty can be deployed and configured. You should read this section before progressing with other sections of the tutorial.
For information on how to configure Jetty for serving your own pages visit the HTTP Server section, or the Jetty Server section if you are interested in deploying web apps.
The Jetty XML section describes how to use XML configuration files to avoid any coding to deploy your sevlets or web applications. Logging and Debugging describes how to customize the output from Jetty. Associated Jetty Packages briefly introduces some utilities and extras distributed with Jetty that you may find useful.

`THIS TUTORIAL HAS BEEN WRITTEN FOR JETTY 4.2.x.`
For other versions please see the version of the tutorial included with the release.

BACK | INDEX | EXIT | NEXT

## Index

The Basics
An overview of Jetty capabilities and usage.

- Introduction
- Introduction to the HttpServer
- Introduction to the Web Application Server

Getting Started
Cut to the chase and just get Jetty up and running.

- Introduction
- Running Jetty

HTTP Server
How to configure Jetty for HTTP and servlets.

- Introduction
- Listeners
- Contexts
- Handlers
- Putting it all together

Jetty Server
How to configure Jetty as a web application server.

- Introduction
- Using Servlets without Web Applications
- Using Web Applications

Logging and Debugging
How to set up logging and how to produce debug output.

- Introduction
- Logging requests
- Debugging

Jetty XML
A detailed look at the XML syntax used in Jetty-specific configuration files.

- Introduction
- Syntax
- Putting it all together

Associated Jetty Packages Brief introductions to other packages included with Jetty. |

BACK | INDEX | EXIT | NEXT