#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    18
    Rep Power
    0

    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.

    Archana
  2. #2
  3. No Profile Picture
    Clueless llama
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Feb 2001
    Location
    Lincoln, NE. USA
    Posts
    2,353
    Rep Power
    117
    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
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    18
    Rep Power
    0
    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.

    Archana

IMN logo majestic logo threadwatch logo seochat tools logo