I even can give you some code if you want

----- Original Message -----
From: Hines, Bill <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 11, 2000 11:26 PM
Subject: Re: How work with combobox related in jsp


> If you have to go back to the server and read the database, just use some
> JavaScript to call a function when the user makes a choice from the city
> combobox. In the function, just call a servlet, have it read the places
> relative to the city was selected from the database, put the list in the
> request, then call the JSP page again and populate the "places" combobox
> from this request parameter. We do this in some of our apps and it is
> amazingly fast. Most users don't believe we even did the round-trip.
>
> Bill Hines
> Hershey Foods
>
> -----Original Message-----
> From: Jon Thomas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 29, 2000 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How work with combobox related in jsp
>
>
> I had a similar situation.
> I brought both lists into the JSP as arrays.
> I then created duplicate javascript arrays on the client.   Thenwhen the
> user clicks the select box containg the parent item I used dhtml to
dispolay
> a "bound" list in the child select box.  Does this make sense?
>
>
> -----Original Message-----
> From: Wilson E. Lozano R. - Estudiante [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 28, 2000 11:28 PM
> To: [EMAIL PROTECTED]
> Subject: How work with combobox related in jsp
>
>
> Hi all,
> I have two combo box in a form, the firs contain names of cities and
> second contain names of places relative to the cities. Both, cities and
> places come from tables in a Data Base.
> ask: How can i do that names of places belong to the city chooosed in the
> first combo box??
> Thanks in advance....
>
> Wilson Lozano
> Bucaramanga-Colombia
>
>
===========================================================================
> 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
>
>
===========================================================================
> 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