Hi everyone,
I have met a problem here regarding the display table. Let me explain my problem 1st.
Assume that I want to display a list of data in a table, each page contains 10 records. So when I clicked on page no.2, it will showing records from 11 to 20. At this moment, I have click submit button to save the changes I did in page 2. So now my question is, after saved, it should be remain the page 2, but now it show "[First/Prev]1, 2, 3, 4 [Next/Last]" page 1 is highlighted. I had check the log, and it shown that set to page 2, and I tried to <c:out> the value, it show 2, but I cant figure out why it happened?
And i found that when i clicked on the numbered pages list, parameter "d-xxxxxxx-p=4"(just an example) will be appended in the url, so does it mean I couldn't do the controlling on set the current page number?
Any ideas are welcome. Thanks in advanced.