Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3161357 By: bqiao
After deleting one record from the table, I want a user to be directed back to the current page of records spaning multiple pages. To do this, I direct the user to the same url after deleting that record in Struts action. This works fine as long as the record to be deleted is not the only record of the last page of multiple pages. For example, 41 records are displayed in 3 pages (20 per page). The url for the last page with only one record is as follow: http://fibldnw/test/paydispatch.do?action=payverify&d-16486-p=3 After deleting the last record, there are only two pages of records left. The above url will not display correctly. Changing the value of d-16486-p to any number greater than 3 will direct to the first page correctly however. This actually applies to any situation where the last page is fully loaded and the value of page parameter in the request is the total page number plus 1. Is it possible to direct to the last page if the page number in the request parameter is larger than the total pages? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249317 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

