This is a template web application context, which can be used as the basis of your own web application. It contains some static content and a Dump Servlet. It's location is $JETTY_HOME/webapps/template.

If you want to see a full demonstration of Jetty, then you will need to have either the Jetty-5.0.x-extra or Jetty-5.0.x-all package installed. You will then be able to run the demo with:

  java -jar start.jar etc/admin.xml etc/demo.xml

For a standard installation of Jetty, the javadoc will be available.

If this server was started with the etc/admin.xml configuration, then a simple admin UI may be available (default username/password is admin/admin).

If this server was started via JMX, then a JMX console UI should be available. To start Jetty with JMX use:

  java -Dmain.class=org.mortbay.xml.XmlConfiguration -jar start.jar etc/jetty-jmx.xml
For java >=1.5 you will also need to add -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder to the command line to avoid a clash with the internal jmx implementation.

To start a server using the jars and resource in the extra packages, use:

java -DSTART=extra/etc/start.config -jar start.jar
or
java -Dmain.class=org.mortbay.jetty.plus.Server -DSTART=extra/etc/start.config -jar start.jar