• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Displaying records

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use JSTL to establish paging through a list. There's a good discussion with examples Here
 
author & internet detective
Posts: 42148
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Megha,
Take a look at Ask Tom's reply to the Oracle query for paging.
reply
    Bookmark Topic Watch Topic
  • New Topic