On Fri, 6 Sep 2002, srinivas tadikonda wrote: > Hi, > How can I display limited records in one jsp page. My table haveing > 50,000 records. I want to display these records into browser using jsp. > > If I try to display this much records my browser is hanging. because lot > of records. so I want to display 1000 records each page. If user press > next button , anothor 1000 records will come. at the same time user press > previsous button also previous records will come. > > How can I control Resultset . Please tell me. If its possible please send > code.
You can use JSTL "Result" objects instead of ResultSet; see http://www.manning.com/getpage.html?project=bayern&filename=source.html for examples of paging in JSTL. -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
