In HTML, drop down boxes are usually referred to as select boxes, so perhaps
the terminology has contributed to you not finding any information on how to
create and use a select box on the web.  Depending on what JSP server you
are using, you can sometimes find a 3rd party tag library that includes a
select box.  In my case, I use JRUN server, and have used their tag library,
which includes a "beefed up" version of an HTML select box.  If you don't
have a third party tag library to use with your JSP server, then you would
want to research (via the net) how to create and use an HTML select box, as
there are a lot of examples out there.

Celeste

-----Original Message-----
From: lancelot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 9:17 PM
To: [EMAIL PROTECTED]
Subject: I need all you help


Excuse me,
    Who know how to implement drop-down-list in JSP? I mean that when the
JSP was invoked the JSP code fetch data from database via JDBC and fill the
information(such as department name and department number) in the
drop-down-list in JSP and after the user select one item, the
value(department number) was sent to servlet or javabean.
    And it's better if another function can be implemented, that is if you
input the department number(0006 for example) then the department name can
be fetch out automaticly(FA Dept. for expamle).
    I need all your help.
    Thanks a lot.

Lancelot

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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