i have a jsp page with some fields ...i.e textfields
n below that i have some 4 buttons named first,next,prev,last

when i click on the button named 'first' i should get the first record from the database
n if i click on the button named 'next' i should get the next record from the database n so on for the last n prev button.

i should get the records onto the same page.

i dont know how i am going to maintain the 'resultSet' data all throughout my program...

can anyone tell me the way to go about it...

retrieve data from database from jsp with buttons like first,next,prev,last

retrieve data from database from jsp with buttons like first,next,prev,last

If you visited above link you wouldn't double posted question and looked so stupidly ignorant for everyone to see...