If I enter http://example.com/index.html in my browser, jetty should look in a specified dir for the file index.html.
How can I achieve this with embedded jetty?
This is my code to start jetty:
InetSocketAddress socketAddress =InetSocketAddress.createUnresolved("0.0.0.0", 80);
Server server = new Server(socketAddress);
server.start();
server.join();
Found a good description at http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty