Added a sample bsh service.
[jsvc.git] / samples / bsh / src / dolda / bsvc / Main.java
1 package dolda.bsvc;
2
3 import dolda.jsvc.*;
4 import dolda.jsvc.util.*;
5
6 public class Main {
7     public static Responder responder() {
8         Multiplexer root = new Multiplexer();
9         root.file("sh", new ShellPage());
10         root.file("css", new StaticContent(Main.class, "static/base.css", false, "text/css"));
11         return(Misc.stdroot(root));
12     }
13 }