Hey!
I see that a week has gone by and nobody has offered any suggestions.
Some steps to get you started, albeit not the only way to do it:
Prerequisites are knowledge of JSP, Java Beans and servlets as controller (Model
View Control).
1. Create JSP with your form for the company selection.
2. This form sends selection to the controller servlet.
3. Controller servlet creates a session, accesses the database and creates a
Vector of
Java beans that contain the reps and the rep's information for that chosen
company.
4. Control saves this Vector in the session.
5. use getRequestDispatcher() to a dynamically build JSP using the Vector of
beans
(model) and create the display of the reps using HTML (view).
The outcome will be the company with a list of the reps.
If some of this sounds unfamiliar to you, go back to the suggested prerequisites
and
do some work. Have some fun doing it.
Sans adieu,
Danny
"Roy Silva (Java)" wrote:
> Hi,
> How could I retrieve values from a jdbc conn. for a particular combobox from
> a form?
> say if I have a combobox with companies and representatives. If I select
> companies, how could I fill reps of the particular companies which is
> retrieved from a database?.
>
> thanks
> roy
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html