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...

Recommended Answers

There is a nice article already suggested few times, if you actually searched forum before posting, called Implementing Search Result Pagination in a Web Application

Happy reading...

Jump to Post

All 3 Replies

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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.