aspose file tools*
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
Author

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...



Thanks
Naresh
David Newton
Author
Rancher

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying 10 records at a time