Lalith Jayaweera <[EMAIL PROTECTED]> wrote:
>Problem : Two Combo boxes has to be populated from a database, That is
firstly,
>          the form displays all the department names in a combo box,
Depending
>          on client's first Selection all the lectures belongs to that
>selected          Department has to be populated from the Database in the
>next Combo           box,(Assume this is a client server web Application.)
>
>          Rather than using a APPLET for the above task , Is there any way
that
>          way that we can use SERVLETS for this.

JavaScript is required to do what you describe.

If you change your thinking a bit, you might find an easier solution: Why
have two combo boxes? Why not have a plain list of deparments (using the
<ul> ... </ul> tags perhaps), each of which is a hyperlink. Clicking on a
link will bring up a list of lectures (another plain list, i.e. <ul> ..
</ul>) for that department.

Finding and clicking on a hyperlink in a plain list is easier than selecting
one from a little combo box, in my opinion.


Erik

___________________________________________________________________________
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

Reply via email to