I am trying to implement code to apply pagination in jsp. But it doesn't work. This code display all result on one page and when i click on next page it shows previous result again.I want to display 10 rows on each page. Total rows in table is 50. Below is the code.
As i taken this code from internet, so not sure about below values.