wood burning stoves 2.0*
The moose likes Struts and the fly likes Pagination for Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Pagination for Images" Watch "Pagination for Images" New topic
Author

Pagination for Images

Rodricks george
Ranch Hand

Joined: Sep 10, 2006
Posts: 97
Sir,
I have 3 folders and each folder has 3 , 2 ,4 images correspondingly.

c:\LIC \ Jeevan shree
|
|-- Folder1 - 3 images
|
|-- Folder2 - 2 images
|
|-- Folder3 - 4 images

I have a Struts JSP page, Here i have 4 buttons ( << < > >> )

First(<< and Last(>> is used to navigate Folders
(< and (> is used to navigate Images inside particular folder.

How can i do pagination for Displaying images.

Thanks with regs,
-Rodricks
Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
I've had a problem like this in the past. I ended up using displaytag and writing a custom decorator for images. You could always use ajax as well.
Rodricks george
Ranch Hand

Joined: Sep 10, 2006
Posts: 97
Thank you sir!

-Rodricks
 
 
subject: Pagination for Images