Java Servlets version of Quote Unquote program