Index: lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java =================================================================== diff -u -r192e8bed06df5a995b34c4e94023cbc699b341e5 -r57ba9c3b0ef0c0b0adc976762134a5aa8a690867 --- lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java (.../GradebookServlet.java) (revision 192e8bed06df5a995b34c4e94023cbc699b341e5) +++ lams_central/src/java/org/lamsfoundation/lams/web/GradebookServlet.java (.../GradebookServlet.java) (revision 57ba9c3b0ef0c0b0adc976762134a5aa8a690867) @@ -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 =================================================================== diff -u -r0c8690c0ea9d545ef75c3f0391de11794e6ebfc9 -r57ba9c3b0ef0c0b0adc976762134a5aa8a690867 --- lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java (.../LoginRequestServlet.java) (revision 0c8690c0ea9d545ef75c3f0391de11794e6ebfc9) +++ lams_central/src/java/org/lamsfoundation/lams/web/LoginRequestServlet.java (.../LoginRequestServlet.java) (revision 57ba9c3b0ef0c0b0adc976762134a5aa8a690867) @@ -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 {