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 applications.

The Jetty XML section describes how to use Jetty 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 based on Jetty 4.2.x. For other versions please see the version of the tutorial included with the release package.

BACK INDEX
EXIT
NEXT

Index

The Basics
An overview of Jetty capabilities and usage
  1. Introduction
  2. Introduction to the HttpServer
  3. Introduction to the Web Application Server
Getting Started
Cut to the chase and just get Jetty up and running
  1. Introduction
  2. Running Jetty
HTTP Server
How to configure Jetty for HTTP and servlets
  1. Introduction
  2. Listeners
  3. Contexts
  4. Handlers
  5. Putting it all together
Jetty Server
How to configure Jetty as a web application server
  1. Introduction
  2. Using Servlets without Web Applications
  3. Using Web Applications
Logging and Debugging
How to set up logging and how to produce debug output
  1. Introduction
  2. Logging requests
  3. Debugging
Jetty XML
A detailed look at the XML syntax used in Jetty-specific configuration files
  1. Introduction
  2. Syntax
  3. Putting it all together
Associated Jetty Packages
Brief introductions to other packages included with Jetty
BACK INDEX
EXIT
NEXT