For this homework, use Jetty, servlets, cookies, and HTML forms to create a "Cookie Monster" website that displays all of the cookies stored for the website, and allows users to add or delete saved cookies.
Create a Jetty server running on port 8080 and a servlet that:
Responses to GET requests by displaying a web page that shows the name and value for all cookies currently saved for the site, and displays a form allowing users to add/edit their cookies.
Responses to POST requests by creating and saving a new cookie based on the name/value provided in the form, or deletes a cookie if necessary.
Here is an example website:
If no cookies are stored, output a special message. For example:
The exact formatting and design is up to you, but you are encouraged to use the code examples from class as a starting point.
Submit your work to SVN using Eclipse at:
username is your USF Connect username. If you are using Eclipse properly, then you should have the following files (at a minimum):
You may add additional classes if necessary.