protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		String[] idStrings = request.getParameterValues("quiz");
		DBConnection con = (DBConnection) getServletContext().getAttribute("connection");
		try {
			for (String id : idStrings) {
				Quiz q = new Quiz(Integer.parseInt(id), con);
				q.deleteQuiz();
			}
		} catch (NumberFormatException e) {
			e.printStackTrace();
			request.setAttribute("error", "Number Format Error");
		} catch (SQLException e) {
			e.printStackTrace();
			request.setAttribute("error", "SQL Error");
		} finally {
			RequestDispatcher dispatch = request.getRequestDispatcher("delete_quiz.jsp");
			dispatch.forward(request, response);
		}
	}