The Artima Developer Community
Sponsored Link

Web Services Forum
reading from a db

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jacodia Swartz

Posts: 5
Nickname: cody
Registered: Apr, 2004

reading from a db Posted: May 10, 2004 7:49 AM
Reply to this message Reply
Advertisement
I need to create a form using Java Servlets. The Form has 2 fields.
1) Courses which is a combo box with values it gets from a courses db
2) Lecturer which is also a combo box but displays the value according to the value selected in the courses field.

The question is as follows:

Create an Access db named Courses with fileds = course,lecturer,status

Create an html page welcome.html that has a link "Students"
This link invokes a servlet that presents a form to evaluate lecturers.

The form has a drop down list named courses, which displays the available courses. It also has a drop down list named lecturers, which displays the available lecturers according to the course selected in the previous courses drop down list.

[The values in the drop down list must be updated when new values are added to the db]

How can one code this logic?

Topic: SOAP over FTP Previous Topic   Next Topic Topic: IIS and Websphere

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use