Set up the MainView.jsp with a servlet to link to ImageView.jsp passing it the value associated with an image. Also setup ImageView.jsp to grab other info from the Database once that part is finished. I switched the MainView.jsp thumbnails to work as buttons since I couldn't figure out a way to pass a value to a servlet with img and a ref tags. This slightly changes the thumbnails esthetically.