Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes Displaying 10 records at a time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying 10 records at a time" Watch "Displaying 10 records at a time" New topic

Displaying 10 records at a time

abheeshek reddy
Ranch Hand

Joined: Nov 28, 2008
Posts: 41
Hi all,

let's say, I have 100 records in a table.
My requirement is to display 10 records at a time. How should i start my approach. Give some code snippets of the logic (in jsp, form bean, action class) or it would be great if can share a small mini project kind of thing or a place where i can download the project and understand the logic...

David Newton

Joined: Sep 29, 2008
Posts: 12617

There are many ways to approach this. You might want to check out the Display tag project for one possible solution.
I agree. Here's the link:
subject: Displaying 10 records at a time
It's not a secret anymore!