Computer Science 396S
Assignment 1
Due: September 17, 2003

Your first assignment is to set up the web server described in the handout, A Simple Client-Server Application.  All the java files are on my website under Documents for Downloading.  Under that you will find a folder called webserver.  The files are all in there.  Get the addresses-email.html example to work.

Next modify the example so that is collects more information from the user than just the name and email address.  You may decide upon the kinds of data.  You might want to gather address information or birthdates.  It is up to you.

Then save the data into a text file on the same directory as the program.  Use a Printwriter declared by
 PrintWriter outfile = new PrintWriter (new FileOutputStream ("outfile.txt"));

Hand in a printout of your html file, the data file, and the program that does the data processing.