]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/StaticPage.java
upd: rename package name and all references to it
[gigi.git] / src / org / cacert / gigi / pages / StaticPage.java
diff --git a/src/org/cacert/gigi/pages/StaticPage.java b/src/org/cacert/gigi/pages/StaticPage.java
deleted file mode 100644 (file)
index be2e75b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.cacert.gigi.pages;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.UnsupportedEncodingException;
-import java.util.HashMap;
-
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.cacert.gigi.output.template.Template;
-
-public class StaticPage extends Page {
-
-    private Template content;
-
-    public StaticPage(String title, InputStream content) throws UnsupportedEncodingException {
-        super(title);
-        this.content = new Template(new InputStreamReader(content, "UTF-8"));
-    }
-
-    @Override
-    public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
-        HashMap<String, Object> vars = new HashMap<String, Object>();
-        content.output(resp.getWriter(), getLanguage(req), vars);
-    }
-
-}