Fixed web.xml problem giving 404 Error so that the program works correctly