code: public static WebXML getInstance(String webxml) {
          WebXML wx = null;
          BeanReader reader = new BeanReader();
          reader.getXMLIntrospector().getConfiguration()
                  .setAttributesForPrimitives(false);
          reader.getBindingConfiguration().setMapIDs(false);
  
          try {
              reader.registerMultiMapping(getBetwixtMapping());
              wx = (WebXML) reader.parse(new File(webxml).toURI().toString());
          } catch (IntrospectionException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          } catch (IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          } catch (SAXException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          return wx;
      }
docs: Create an instance of WebXML from the specified file.
  
  @param webxml
  Path to web.xml file.
  @return instance of WebXML