modify web.xml and pom.xml