Added a simple session manager for responders and used it in the bsh sample.
[jsvc.git] / samples / bsh / src / dolda / bsvc / Main.java
index a1687af..d6a83d2 100644 (file)
@@ -6,7 +6,7 @@ import dolda.jsvc.util.*;
 public class Main {
     public static Responder responder() {
        Multiplexer root = new Multiplexer();
-       root.file("sh", new ShellPage());
+       root.file("sh", new PerSession(ShellPage.class));
        root.file("css", new StaticContent(Main.class, "static/base.css", false, "text/css"));
        return(Misc.stdroot(root));
     }