Two Laptop Bag
The moose likes Servlets and the fly likes a way to display those page numbers shown under this list??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "a way to display those page numbers shown under this list???" Watch "a way to display those page numbers shown under this list???" New topic
Author

a way to display those page numbers shown under this list???

deep venu
Ranch Hand

Joined: Jun 09, 2001
Posts: 56
My application requires retrieving data and displaying the search result on separate pages showing say 10 records on each page.
The page should also have the page number hyperlinks at the bottom of the page.Its something similar to our topics display screen.
Any pointers on how to go about this??
tee mahmood
Greenhorn

Joined: Jun 26, 2001
Posts: 6
you should use tags to workout how many pages u need depending upon the results u get back
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
There is a taglib available for this. It's called Pager Taglib The examples show just how easy this is.

------------------
Hope This Helps
Carl Trusiak, SCJP2


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: a way to display those page numbers shown under this list???
 
Similar Threads
Is it possible to display the success page as a pop up window
how to call url
how to display time in jsp page
Page Directive errorPage and isErrorPage
Error Page Configuration