Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pagination not working using display tag

 
Vic Hood
Ranch Hand
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Vic Hood
Ranch Hand
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic