Homework #4 Spring 2007

Due:  Monday April 9



Purpose:



Preparation:



Lesson:

For this assignment you will create a new web application that makes use of servlets and either cookies or a session to track state.  Two example applications are shown below.  The first application is a mentoring system. 

This screen (CSM_AddMentor.html) is used to add mentors to the database:


This screen (CSM_MentorNet.html) is used to query the database:

This screen (returned by the servlet) shows the results:
Cookies are used to save partial selections in case users need to change some of  their choices:
Sample application #2 uses images rather than a database.  The first screen prompts the user to select a destination:

Pictures are displayed based on the selection:
Cookies are used to avoid repeating destinations that have been visited:


Requirements for your program:


Submission:

Create a zip file of your web application.  Be sure that it includes web.xml and an sql file if your application uses a database.