• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

slide show in jsp

 
elham pkn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get some pictures from database and make a slide show in jsp.
I can do it if I know the exact number of pictures .but each time I run the program the number of pictures change.
Would you please give me the solution?
thanks
Elham
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"elham pkn",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can be done in several ways. You can get the count first and then pictures. Or you can get the pictures in soem collection and count them. Just discussed two possible solutions which presently came into my mind.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic