Record « Pagination « JSP-Servlet Q&A

1. display next records by pressing next

I have a website in front page. I'm displaying 5 records. I want that when user clicks Next, he should be able to view next records. I want to keep track ...

2. Paging records and jsp

You can simply use JSTL's tag. To do this with Oracle, you'd set up the connection using (or in your application's deployment descriptor) and then use to retrieve the information. As a complete example, here's something that works against a local Oracle database: <%@ taglib prefix="c" uri="" %> <%@ taglib prefix="sql" uri="" %>

3. Paging Records, a new approach

4. Paging records

Sarah, this is a subject that has been discussed many times in this forum. Take a look back and you will find topics that address this issue. My tactic has been to have the database do the dicing and slicing of the large dataset, rather than the UI layer. After all, why send data to the front end that is just ...