<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure class="org.mortbay.jetty.webapp.WebAppContext"> <Set name="contextPath">/test1</Set> <Set name="war">/work/test1</Set> </Configure>
java -jar start.jar etc/jetty.xml
http://localhost:8080/test1