Computer Science 396S
Assignment 6
Due: October 22, 2003

For this assignment you are to create an html file that can display all the contents of a database, insert a new row, find an item, or remove a row.  The html can have links to other web pages that have the appropriate forms.  The forms should be similar to the ones you did before.  You may set it up either with the WebServer or Tomcat.  Just let me know which you are using.

See the web page below for ideas.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
     <title>Course Roster</title>
</head>

<body>
<center>
<table border="1" cellspacing="10" cellpadding="10" >
<caption align="center"><h2>Course Roster</h2></caption>
<tr>
     <td>
          <h3>Display the Data</h3>
          <form method = "get" action="http://localhost:8080/course.DisplayProcessor">
          <p><input type="submit" value="Send"></p>
          </form>
     </td>
     <td>
         <h3>Add a Student</h3>
         <form method = "get" action="http://localhost:8080/course.AddProcessor">
         <input name="id" type="text" value = "" size = "10" /> Student ID<br />
         <input name="name" type="text" value = "" size = "20" /> Students Name<br />
         <input name="qpa" type="text" value = "" size = "10" /> Students QPA<br />
         <p><input type="submit" value="Send"></p>
          </form>
    </td>
</tr>
<tr>
     <td>
          <h3>Find a Student</h3>
          <form method = "get" action="http://localhost:8080/course.FindProcessor">
          <input name="id" type="text" value = "" size = "10" /> Student ID<br />
          <p><input type="submit" value="Send"></p>
          </form>
     </td>
     <td>
          <h3>Remove a Student.</h3>
          <form method = "get" action="http://localhost:8080/course.DeleteProcessor">
          <input name="keyId" type="text" value = "" size = "10" /> Student ID<br />
          <p><input type="submit" value="Send"></p>
      </form>
     </td>
</tr>
</table></center>
</body>
</html>