@Override public synchronized String getMyCourseNotesToHTML(String email, CourseDAO courseDAO) throws MyDAOException { String result = ""; for (String courseName : getMyCourse(email)) { result += "<p>" + courseDAO.getSelectedCourseNoteToHTML(courseName) + "</p>"; } System.out.println(result); return result; }