• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

navigate through a resultset in a jsp page

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
whzt i want?
i would like to show 10 records at a time on a jsp page and ther will be a button that will reload the same page to show the next 10 records in the same resultset.how can i achieve this?
what is happening?
when i show the first 10 records i put the resultset in session and the statement object in the <%!%> tag.if i put this tag outside the body of the jsp then i get the error that statement object is unknown when i try to access it.so i keep it in the body tag of the jsp page.secondly when i do that then it shows me the next 10 records but then on subsequent clicks on the button it says resultset is closed.please guide me.thanks you very much well in advance.
reply
    Bookmark Topic Watch Topic
  • New Topic