I suggest you use a bean for this. In the bean, read the jpeg files in the directory
using a java.io.File method and then save them into a File array. Then you can go
through the list by accessing each by
it's array index. You not only can go to the previous or next image, but you could
also directly jump to an image.
On Sun, 25 Feb 2001 22:11:37
Ryan wrote:
>I want to make an image viewer for my web page. All the viewer will do is read in
>jpegs from a directory and then output to a page that will look like
>
>
> [image]
><< previous image | next image >>
>
>where when you click on the link to the previous image. the page will reload with the
>previous image loaded.
>
>Can anyone please give me suggestions as to the best way of doing this?
>
>-ryu
>
Get your small business started at Lycos Small Business at
http://www.lycos.com/business/mail.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]