I have an Application in which I am showing images in a jsp page from a Database. It takes forever to load over 400+ images and sometimes it only shows half and the rest just small boxes.
I have a bean in which I get the imagenames from DB based on the query and stores in a hashtable then inside a JSP page I have a for loop that calls a servlet passing an image-name a time and the servlet returning the jpeg image.
Is there a way to show 25 images a time and NEXT and PREVIOUS buttons so the user can move arround. Can someone tell me how to implement this functionality as I don't want to show all the images once and rather show in a junk i.e. 25 images a time. Any help is really appreciated.
Thanks.
I have a bean in which I get the imagenames from DB based on the query and stores in a hashtable then inside a JSP page I have a for loop that calls a servlet passing an image-name a time and the servlet returning the jpeg image.
Is there a way to show 25 images a time and NEXT and PREVIOUS buttons so the user can move arround. Can someone tell me how to implement this functionality as I don't want to show all the images once and rather show in a junk i.e. 25 images a time. Any help is really appreciated.
Thanks.