what is return type of ResultSet interface
hi all,
I am new to java technology sir and here i am facing some problem with ResultSet interface. In my program i am fetching the data from the available tables in the database.
Initially i am using loigin page in my page i have one text field whenever we open the login.jsp page it will ask cust_id and have to click on submit button then the action is going to next page i.e, succes.jsp in that page i am displaying the firstname,lastname,dob.
In success.jsp i am executing below statement
i.e, ResultSet rs = stmt.executeQuery ("select c.cust_id,cust_firstname,cust_lastname,cust_dob from customer c where cust_id='"+cid+"' ");
Here my intention is to display customer details based on that we have entered in login.jsp file if the id is matched only. If not have any record with the cust_id then have to display some error message.

