hangman demonstration with tomcat and java servlets