adding the changes for web.xml and the Servlet class.