Documentation and minor refactors for issue #3049

pom.xml --> web.xml