Hi,
I'am working on a pagination problem. I am posting data from my Action class to the display
JSP and when user press
Next link again flow goes to Action class then to same JSP again with new data.
i have used the rownum query in action and it keeps changing the
lower_bound and
upper_bound with every call to execute() in my action as below-:
with each call from my jsp with Next link
.
All is working fine but am getting the rows appended with previous rows in my JSP. That is for first request am getting 15 rows. Again a click on
Next is giving me 30 rows with 15 new rows appended to previous 15. I tried to clear browser cache as below but it doesn't seem to work-:
My URL is not same for every query as my page parameter value is getting changed every time still its not working as expected.
I had put a output statement on Action class, just to be sure am getting result in incremental sets. It seems fine from below result of two consecutive calls-:
Please inform i did not make my point clear. i tried this in Mozilla, IE , both gives same result.
Anyone having any idea how to get around this...