This page demonstrates a simple servlet application. The form is posted to a servlet which calculates the day of the week corresponding to the entered date. It will also indicate errors if an invalid date is entered. It uses the POST form method in order to hide the form fields (i.e. they're not sent as part of the URL.)

Please enter a date
Day
Month
Year