• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

pagination for images / picture

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have made a small search engine for a pictures using struts2+hibernate, MySQL. I have couple of thousands picture. Now I want, if a search query returns lot of records then just to show 10-20 pictures per page. I searched a lot and looks only option for pagination with struts2 is "DisplayTag" that works great with text representation. Could somebody please guide me what I can use for pagination of images or if display tag has support for showing pictures. How could I use displaytag with images?

Thanks,
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try with pager tag for me it's worked without any problems. When you are working with image better to use pager tag.

http://jsptags.com/tags/navigation/pager/
 
shally kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mohana! I'll try to implement it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic