started working on templates and api

This commit is contained in:
2022-04-15 14:59:51 +02:00
parent 26df2e5654
commit 546d3c10f3
16 changed files with 313 additions and 42 deletions

View File

@@ -35,7 +35,7 @@ public class Application {
SessionHandler sh = new SessionHandler();
server.setConnectors(new Connector[]{connector});
ServletContextHandler context = new ServletContextHandler(server, "/",sh,null,null,null);
context.addServlet(Rest.class,"/api");
context.addServlet(Rest.class,"/api/*");
context.addServlet(Web.class,"/web/*");
server.start();