Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page Navigation

 
Bindu Sanju
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bindu Sanju
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is s JSP FAQ on the subject. Please read it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic