Lester Burnham wrote:There'll be one image per IMG tag. The only way a JSP page can display multiple images is by creating multiple IMG tags.
the images are dynamic it may be 1 or 5 or 25.
How to keep multiple image tag in jsp.
Is this way is good to use inside jsp
inside loop i use this image tag and i will pass imageid to retrieve it from db.
<img src="myservletName?imageId="+imgId>
But it will hit the DB 'N' number of time.
perfomance wise its not good idea to use.
kindly suggest how to do it in better manner.
P.S : Kindly tell me whether the java codes are correct.