added exaple web.xml and fixed some of its dependent files