private static final long serialVersionUID = -212249266673072996L;
@Override
protected void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
GraderManager graderManager = SessionUtil.getInstance().getGraderManager();
attachMachineQueue(request, "busyQueue", graderManager.getBusyMachineQueue());
attachMachineQueue(request, "idleQueue", graderManager.getIdleMachineQueue());
request.setAttribute("submitQueue", graderManager.getSubmitQueue());
request.setAttribute("feedbackQueue", graderManager.getFeedbackQueue());
request.setAttribute("testQueue", graderManager.getTestQueue());
request.setAttribute("gradeQueue", graderManager.getGradeQueue());
request.setAttribute("autoreload", request.getParameter("autoreload"));
loadSystemTime(request);
request.getRequestDispatcher("main.jsp").forward(request, response);