March 18th, 2003, 07:07 PM
How to retrieve multiple rows from a ResultSet, when using JSP and Beans-Very Urgent
Hi all ,
In one of my database driven application I am using the JSP and Java beans.
In my bean I am retrieving mulriple rows from the database depending on the user query.I have all getter and setter methods in the bean.
I want to display those rows in the JSP using getProperty() methods.But in the bean as i am storing the values into the ResultSet the properties are having only final row values init.
How can I call the bean from the JSP and display multiple rows?
I really appreciate any kind of help.
March 19th, 2003, 10:35 AM
I am sorry, I am having a hard time understanding what you are saying. I haev an idea of what may be going on. Can you post some more details and some code you have tried? Thanks
March 19th, 2003, 07:33 PM
Nemi Thank you for the reply.I think I need to use collections to solve the problem.I am trying with that new code.I will post the new code if I am not able to successfully run it.