This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

pagination for images / picture

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Thanks Mohana! I'll try to implement it.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic