• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying records

 
Megha Rajeevan
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers..
I'm using JSP and Oracle for the project..
now in one of the table there are 1000 records.. when a user click the search button.. All the records are displaying in the page..
for that displaying purpose i used <iframes> </iframes>..
in this iframes i put the frameborder="0" and scrolling="auto".. So if the record is more that 10 it will automatically shows the scroll bar..

now i've to put only 10 records in the page.. and when i click next button the iframe shows 11-20 records and in next again 21 to 30.. like that..

please help me ranchers
how to code that.. is that any oralce query. or what..

please reply me..
thanks in advance..

regards
Megha..
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JSTL to establish paging through a list. There's a good discussion with examples Here
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Megha,
Take a look at Ask Tom's reply to the Oracle query for paging.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic