aspose file tools*
The moose likes JSP and the fly likes slide show in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "slide show in jsp" Watch "slide show in jsp" New topic
Author

slide show in jsp

elham pkn
Greenhorn

Joined: Jan 16, 2007
Posts: 1
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

Joined: Jan 10, 2002
Posts: 61437
    
  67

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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.
 
Consider Paul's rocket mass heater.
 
subject: slide show in jsp