File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 61768
    
  67

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: 61768
    
  67

There is s JSP FAQ on the subject. Please read it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Page Navigation