This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
hi all, i am using servlets to retrieve data from data base,now i want to scroll data like Data Control in visual basic to see all records one by one on clicking on a button. for example when i click on button 1st record will be shown in text fields and on the same way i want to move my record next. how can i do in servlet. i have a class Employee.class and it displays only one record, i want to see all record on the same page by clicking next. plzz help me, thanx in advance.
aamir abbas
Greenhorn
Joined: May 04, 2001
Posts: 19
posted
0
Hi Shumaiza, u r trying to perform a task like Data Control in VB ... it is possible in Servlet but its quite difficult n slows down ur application ... coz u have to run ur servlet agin (on button click) and on each click u have to move resultset pointer to next record (keeping previous record in mind).... its a method to do what u want ... but i won't suggest u this method .... it costs inefficiency of application. if u want to display all records on a same page then display all records in form of table when 1st time servlet loads ... Aamir