It appears that it handles pagination automatically - i.e. pagesize will display 15 rows and then does a page break.
What I need to do is this:
In my app this display:table mechanism displays a series of row - each row has a link that can take them to another page - on the other page - there is a link that will bring them back to this orignal .jsp with the above code - but when they come back they want to come back to the paginated page from whence they came - so if they were on paginated page 2 when they left - they want to come back to paginated page 2 rather than page 1, which looks like the default - (to prevent them from having to re-navigate from whence they came). I would think this is a very common issue.
Joined: Mar 17, 2001
You may need to invoke the same logic when user clicks the link on the 'other' page. For this, a parameters needs to be passed when the user clicks link on the 'original' page
Joined: Jan 17, 2006
Could you please post the sample code for pagination using display tags.
Joined: Sep 02, 2001
Kornfeld is talking about displayTag Lib (http://displaytag.sourceforge.net). I'm also facing this issue. As for Mohan, calling with same params does not work. It eventually takes the usre the 1st page.
Issue: We were facing the issue for display:table pagination control, when on the click of page 2, the UI of page wasn't same as in the page 1. Actually there are js,css and images are missing for next page or whenever we navigate through the page 2 to page1.
Solution: This is happening because in the jsp file we have given the path like below in our case: