Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/delibero.git

Use relative path in Jetty configuration file to locate root HTML document directory.

AuthorDave Jarvis <email>
Date2015-01-08 11:39:09 GMT-0800
Commit52a9aea267fa48eaf4a62c6c272415c1a290adb0
Parent8754151
resources/static.xml
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.ResourceHandler">
- <Set name="resourceBase">/home/jarvisd/dev/java/discuss/xml</Set>
+ <Set name="resourceBase">./xml</Set>
<Set name="directoriesListed">true</Set>
<Set name="cacheControl">no-cache</Set>
source/to/discuss/Main.java
import org.eclipse.jetty.server.handler.ContextHandler;
-
+/**
+ * Launches the embedded web server.
+ */
public class Main {
public static void main( String args[] ) throws Exception {
Delta4 lines added, 2 lines removed, 2-line increase