code: protected Document getWebXmlDocument(String baseDir)
  			throws ParserConfigurationException, FactoryConfigurationError,
  			SAXException, IOException {
  		File webXml = new File(baseDir, WEB_XML_FILE_PATH);
  		DocumentBuilder docBuilder = DocumentBuilderFactory.newInstance()
  				.newDocumentBuilder();
  		docBuilder.setEntityResolver(new EntityResolver() {
  
  			public InputSource resolveEntity(String publicId, String systemId)
  					throws SAXException, IOException {
  
  				return null;
  			}
  		});
  
  		Document doc = docBuilder.parse(webXml);
  		return doc;
  	}
docs: Returns the XML document of the web.xml file
  
  @param webXmlPath
  the web.xml path
  @return the Xml document of the web.xml file
  
  @throws ParserConfigurationException
  if a parser configuration exception occurs
  @throws FactoryConfigurationError
  if a factory configuration exception occurs
  @throws SAXException
  if a SAX exception occurs
  @throws IOException
  if an IO exception occurs