From e24352483b7efc151e6b5995bddac3c89d04a6cc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Mar 2010 19:20:04 +0000 Subject: Fixed .txt file import - NOT open office import, just basic text import --- infrastructure/net.appjet.oui/main.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'infrastructure') 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; -- cgit v1.2.3