Jetty - Getting started (Hello World)

Java Conceptuel Diagram

demo-base

Within the standard Jetty distribution, there is the demo-base directory that is a Jetty Base

cd $JETTY_HOME/demo-base/
$ java -jar ../start.jar

Then go to http://localhost:8080/

Hello World

https://www.eclipse.org/jetty/documentation/9.4.21.v20190926/advanced-embedding.html





Discover More
Java Conceptuel Diagram
Jetty - Base

jetty.base is the jetty configuration directory. This is where the etc, webapps and start files will be looked for. If not found in jetty.base, they are looked for in jetty.home. A Jetty base directory...



Share this page:
Follow us:
Task Runner