aspose file tools*
The moose likes Other Open Source Projects and the fly likes Pagination not working using display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Pagination not working using display tag " Watch "Pagination not working using display tag " New topic
Author

Pagination not working using display tag

Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Hi All,
Im using display tag to display my result set .
Here's how I implement it.

Here I 've set pagesize =10, and when I run the app , the records are paged to size 10 , but when i click on the next page to view the next set of records i get a empty result set . E.g if there are 12 records , 10 of them are displayed in the first page and when I click on next to view the last page , I get an empty page .
Why is this happening??
I'm also attaching my servlet class , if it helps

Any help would be much appreciated.
Thanks

Learning and Learning!-- Java all the way!
Vic Hood
Ranch Hand

Joined: Jan 05, 2011
Posts: 477

Solved the issue by setting the returning List to session from request!
However , when I click on the second page of the result set or 'Next ' tab .. the css and the page is completely distorted ..
Any idea why this could be happening?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pagination not working using display tag