]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/error/PageNotFound.java
FIX: Missing title for the 404 page
[gigi.git] / src / org / cacert / gigi / pages / error / PageNotFound.java
index 0033f2397c74f5894c1f90539ca93662095cc26c..e6ba0640626b528f7b19327b39d3de1e918a8ce2 100644 (file)
@@ -9,13 +9,18 @@ import org.cacert.gigi.pages.Page;
 
 public class PageNotFound extends Page {
 
-       public PageNotFound(String title) {
-               super(title);
-       }
-
-       @Override
-       public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
-               getDefaultTemplate().output(resp.getWriter(), Page.getLanguage(req), null);
-       }
+    public PageNotFound() {
+        super("File not found!");
+    }
+
+    @Override
+    public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
+        getDefaultTemplate().output(resp.getWriter(), Page.getLanguage(req), null);
+    }
+
+    @Override
+    public boolean needsLogin() {
+        return false;
+    }
 
 }