From: David ‘Bombe’ Roden Date: Thu, 26 Apr 2012 13:40:43 +0000 (+0200) Subject: Forward POST requests to page implementations, too. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1f67bd6280e5062bec8771483e78fd33b0b6cba1;p=demoscenemusic.git Forward POST requests to page implementations, too. --- 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 //