File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

slide show in jsp

elham pkn

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?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63839

"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.

JavaRanch Sheriff

[Asking smart questions] [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.
I agree. Here's the link:
subject: slide show in jsp
It's not a secret anymore!