well...1st connect with the database by using bean... this will return RecordSet 
object...
create a for loop in the JSP... based on no of rows...add the element whichever u want 
in the list .
and write a JS code based on the selection... call another JSP to display the 
details... about what u selected...

any query mail me yaar...

regards
suriya
*Q  try for everything     Q*

Suriya narayanan V
Software Engineer
Contech Software Ltd
E-3/1,2,3, GIDC Electronics Estate,
Sector - 25, Gandhinagar - 382 044, INDIA
Tel.    : +91(2712) 44989/43324/43328
    (R)  : 91 - 79 - 6746164
fax    :+91 (2712) 24468

Email         :[EMAIL PROTECTED],[EMAIL PROTECTED]
URL           : http://www.contechgroup.com
HomePage :     http://www.suriyan.org



-----Original Message-----
From:   Eoin Shalloo [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, August 02, 2000 2:01 PM
To:     [EMAIL PROTECTED]
Subject:        Dynamic population of list box

Hi,

I need to be able to retrieve a list of employees' names from Oracle and
populate a list box with that data.

Retrieving the names and displaying them on a webpage as plain text is fine
. I am just not clear how to dynamically populate a list box  so that the
user may select one and then I can use the selected value to retrieve that
employee's information.

Can anyone point me in the right direction?

Regards,
Eoin.
~
"Ni he la na gaoithe la na scolb"
T: +353 1 6710692
F: +353 1 6710863

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to