Quiz 2

You are to create two files q2.html and q2.servlet.

q2.html This page should contain a form asking the visitor for their email, their year in the University (which should be a select element with freshman, sophomore, junior, senior, other as choices), and their choice for president which should be a text field. The HTML page should send its information to the q2.servlet.

q2.servlet. This servlet should take the email, year, and choice information and

It should throw an error if called directly ...