tags:

views:

374

answers:

1

I have a requirement where I have to fetch some records from the database and then I have to show 50 records per page on a JSP. The page will be having First, Previous, Next and Last buttons on the screen. Has anyone implemented similar functionality in struts or similar framework? also i dont want to get all records at once. please guide me how to implement?

Thanks in Advance

+2  A: 

I use the Displaytag library for this. It works great in combination with Struts and jsp and provides sorting and pagination.

Edwin