Index: lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java,v diff -u -r1.3 -r1.4 --- lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java 18 Oct 2011 09:43:54 -0000 1.3 +++ lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java 20 Aug 2013 15:52:40 -0000 1.4 @@ -137,6 +137,25 @@ } } } + + /** + * The doPost method of the servlet.
+ * + * This method is called when a form has its tag value method equals to post. + * + * @param request + * the request send by the client to the server + * @param response + * the response send by the server to the client + * @throws ServletException + * if an error occurred + * @throws IOException + * if an error occurred + */ + @Override + public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + doGet(request, response); + } private IntegrationService getIntegrationService() { if (GradebookServlet.integrationService == null) { Index: lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java,v diff -u -r1.19 -r1.20 --- lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java 18 Jul 2013 14:33:31 -0000 1.19 +++ lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java 20 Aug 2013 15:52:40 -0000 1.20 @@ -185,6 +185,25 @@ response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e.getMessage()); } } + + /** + * The doPost method of the servlet.
+ * + * This method is called when a form has its tag value method equals to post. + * + * @param request + * the request send by the client to the server + * @param response + * the response send by the server to the client + * @throws ServletException + * if an error occurred + * @throws IOException + * if an error occurred + */ + @Override + public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { + doGet(request, response); + } // using JDBC connection to prevent the caching of passwords by hibernate private String getUserPassword(String username) throws FailedLoginException, NamingException, SQLException {