aspose file tools*
The moose likes JSP and the fly likes Page Navigation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Page Navigation" Watch "Page Navigation" New topic
Author

Page Navigation

Bindu Sanju
Greenhorn

Joined: Feb 23, 2006
Posts: 16
Hi,
Any body please help me, how to do the paging in jsp. Plese send me some body sample code for that.

Regards,
Sanju.
[ May 28, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61064
    
  66

What do you mean by "paging"? Do you mean breaking up the display of long lists of database records into pages? Or simply traversing from page to page in a web page?

If the former, there is s JSP FAQ on the subject. If the latter, you use the <a> tag just like any other HTML page.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bindu Sanju
Greenhorn

Joined: Feb 23, 2006
Posts: 16
HI,
Paging means suppose if I fetch the 100 rows. I want to make 100 rows in 10 pages. Each page 10 rows. First,Next,Previous,Last. based on selection I want to display.

Hope will get the positive response from you guys,

Sanju.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61064
    
  66

There is s JSP FAQ on the subject. Please read it.
 
Don't get me started about those stupid light bulbs.
 
subject: Page Navigation