In a
java file I retrieve students from the database and insert them into ArrayList called "students". I retrieve courses from the database and insert them into ArrayList called "students".
I have 2
JSP files which display 2 forms, one for students and one for courses. User types there courses and students. Then they are inserted into database and ArrayLists via methods in the java files.
In this JSP file I posted here I retrieve the students and courses from the 2 ArrayLists and display them into a HTML table. I mean I'm TRYING that :p