This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Pagination in JSP (Graphical) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Pagination in JSP (Graphical)" Watch "Pagination in JSP (Graphical)" New topic

Pagination in JSP (Graphical)

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
I searched for pagination, but I couldn't find what I am looking for.

My DAOs already support pagination, so it is implements at the database side. My question is regarding the represntation side JSP.

How can I display something like that: << < 1234 > >>
Is there any open source or a tag library I can use?


SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63350

Are you asking how to display little arrow images? I'm not really sure what you are asking. This is is some pretty straight-forward HTML.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445


Have you heard of the Display tag library? It provides pagination with some good features. Have a look at the links below.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

"Raj Kamal R",
Please check your private messages regarding an important administrative matter.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Pagination in JSP (Graphical)
It's not a secret anymore!