Update TrainingCourseManager/src/trainingCoursesManager/controller/IndexServlet.java

Using service