Running jetty6 is as simple as going to your jetty installion directory and typing:
The part of the runline following
-jar start.jar specifies the names of configuration files. These files instruct jetty which ports to listen on, which webapps to deploy, and generally configure all container-related customizable settings. You may have only one configuration file, or you may have many, depending on your needs. More on this later.
etc/jetty.xml file that is provided in the distribution includes many examples of alternative configuration settings that can be uncommented. For your convenience, this configuration instructs jetty to deploy all webapps found in the
webapps directory. Therefore, in order to deploy a new webapp, you need not do anything more than drop your war file or unpacked war file into the
Apart from stopping jetty with a
cntrl-c in the same terminal window as you started it, you can
start Jetty so that it listens on a local port for stop commands: