]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/Page.java
Move setContentType out.
[gigi.git] / src / org / cacert / gigi / pages / Page.java
index 18eb2944083e858331d2fd375ddb6edd862ff450..afe96dc76f4dddba3820e0b05da08f91851f3763 100644 (file)
@@ -12,10 +12,8 @@ public abstract class Page {
                this.title = title;
        }
 
-       public void doGet(ServletRequest req, ServletResponse resp)
-                       throws IOException {
-               resp.setContentType("text/html");
-       }
+       public abstract void doGet(ServletRequest req, ServletResponse resp)
+                       throws IOException;
 
        public void doPost(ServletRequest req, ServletResponse resp)
                        throws IOException {