Java code for my CS313 Web Development class