I have three tables :
User table : (userID, username).
Animal table : (animalID, animal).
UserAnimal table : (useranimalID, userID, animalID).

Please help me to create this jsp page :
pretend that the user has already login and now we have his userID in the session.
I want him after login the form in the jsp page shows all animals and a checkbox (if checked that means that animal is his prefered animal).