Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 18th, 2003, 06:07 PM
Archana Archana is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 18 Archana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #2  
Old March 19th, 2003, 09:35 AM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
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

Reply With Quote
  #3  
Old March 19th, 2003, 06:33 PM
Archana Archana is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 18 Archana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > How to retrieve multiple rows from a ResultSet, when using JSP and Beans-Very Urgent


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway