• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pagination for images / picture

 
shally kumar
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,
 
Mohana Rao Sv
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic