I am creating a form that contains multiple fields that are drop-down
combination boxes (selection boxes). I need to figure out a way to
populate the second drop down box (Department field) based on the selection
the user chose in the previous selection field (Agency).
>From what I understand, I should be able to do multiple submits of the form
in JSP. The first would pass the agency to my servlet which would in turn
call my backend CORBA services to return the possible Department values to
the form. Then after the user selects the Department value the form would
be resubmitted.
code snippet....
<TR>
<TD><STRONG>Agency:</STRONG></TD>
<TD><SELECT name=agency style="HEIGHT: 22px; WIDTH:
88px"></SELECT></TD>
<TD><STRONG>Department:</STRONG></TD>
<TD><SELECT name=department style="HEIGHT: 22px; WIDTH:
84px"></SELECT></TD>
Is this possible? If so, does anyone have example code on how to do
something like this? I'm new to the Java world and haven't been able to
find any examples of multiple submissions of a form. It seems pretty
complicated to me.
Any help would be much appreciated.
Thanks,
Brad
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html