From 1f67bd6280e5062bec8771483e78fd33b0b6cba1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 26 Apr 2012 15:40:43 +0200 Subject: [PATCH] Forward POST requests to page implementations, too. --- .../net/pterodactylus/demoscenemusic/core/TemplateServlet.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/core/TemplateServlet.java b/src/main/java/net/pterodactylus/demoscenemusic/core/TemplateServlet.java index a4f3aa2..098cfba 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/core/TemplateServlet.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/core/TemplateServlet.java @@ -176,6 +176,14 @@ public class TemplateServlet extends HttpServlet { } } + /** + * {@inheritDoc} + */ + @Override + protected void doPost(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException { + doGet(httpServletRequest, httpServletResponse); + } + // // PRIVATE METHODS // -- 2.7.4