Assignment 7

Due: Thursday, November 10, 2005


Grading(Maximum Score 100):

Points will be taken off for not meeting all requirements. 5 points will be taken off for each class or method that does not have documentation! Documentation is defined as a written description of what the method or class does. This can be as short as a couple words or as long as a paragraph. Documentation MUST be in JavaDoc Format!

Overview:

This assignment introduces you to JavaServer Pages by implementing a Web logging system.

Detail:

In this assignment you will create a JSP page that displays the text of a log file. A separate JSP page will display a text entry box and allow you to submit a "log" entry with this text box. On submission the page will append the text and the current time to the log file. Keep in mind how objects are used in Servlets. Make sure that no matter how many people are accessing the site at the same time that file access remains consistent.(Thread Safe)

Object Oriented requirements:

The file reading and writing class should be in a separate support class.

Hand In:

A print out of your code. Print out of the resulting web pages(Supporting the working of your code).

Hint:

Don't be fancy!