Forward POST requests to page implementations, too.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 26 Apr 2012 13:40:43 +0000 (15:40 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 26 Apr 2012 13:40:43 +0000 (15:40 +0200)
src/main/java/net/pterodactylus/demoscenemusic/core/TemplateServlet.java

index a4f3aa2..098cfba 100644 (file)
@@ -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
        //