return mapping.findForward("showStudentStatisticsHome");
}
public ActionForward showExecutionCourseStatistics(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
final Student student = getLoggedPerson(request).getStudent();
ExecutionCourse executionCourse = getDomainObject(request, "executionCourseId");
if (student != null && executionCourse != null) {
request.setAttribute("executionCourse", executionCourse);
request.setAttribute("executionCourseStatistics", computeStudentExecutionCourseStatistics(student, executionCourse));
request.setAttribute("curricularCourseOvertimeStatistics", computeCurricularCourseOvertimeStatistics(student
.getAttends(executionCourse).getEnrolment().getCurricularCourse()));
}
return mapping.findForward("showExecutionCourseStatistics");
}