Web Submission and Grade Report Servlet
Axel T. Schreiner
12-31-03
This is a servlet to accept a ZIP archive of files
through a form on a web page
and store them in a submission tree owned by the instructor.
The servlet also produces a grade report with histogram display
from data kept in a confidential file.
Submission
The submission form
(sample)
can be placed on an arbitrary web page.
The form specifies a file input field,
for which a file selection box will pop up.
The student should create a ZIP archive with files to be submitted
and this archive should be selected in the box.
The form specifies hidden variables course and assignment
which should only contain simple strings conforming to the patterns in
web.xml.
The form must post a multi-part message
to the servlet.
The student will have to authenticate into a suitable role
in order to access the servlet.
Grade Report
The grade report is returned if the servlet is contacted with get
and a course name as the query string.
The student will have to authenticate into a suitable role
in order to access the servlet.
The student's own data are extracted from a confidential XML file
and formatted for display.
The XML file can be generated, e.g., from a very simple data file using
an awk script (sample).
Servlet
The servlet is described in
architecture.
The files are accessible below.