diff options
Diffstat (limited to '')
-rw-r--r-- | infrastructure/net.appjet.oui/main.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/infrastructure/net.appjet.oui/main.scala b/infrastructure/net.appjet.oui/main.scala index 42cd268..8181fdf 100644 --- a/infrastructure/net.appjet.oui/main.scala +++ b/infrastructure/net.appjet.oui/main.scala @@ -220,9 +220,9 @@ object main { val handler = new Context(server, "/", Context.NO_SESSIONS | Context.NO_SECURITY); handler.addServlet(new ServletHolder(new OuiServlet), "/"); -// val filterHolder = new FilterHolder(new MultipartFilter()); -// filterHolder.setInitParameter("uploadDir", System.getProperty("java.io.tmpdir")); -// handler.addFilter(filterHolder, "/*", 1); + val filterHolder = new FilterHolder(new MultipartFilter()); + filterHolder.setInitParameter("uploadDir", System.getProperty("java.io.tmpdir")); + handler.addFilter(filterHolder, "/*", 1); global.context = handler; |