Example code for embedding jetty server (code based on jetty 8). Compile with: ant Run with: ant run Point your browser to http://localhost:8080/file.html for static request, and to http://localhost:8080/time for dynamic request examples.