code: public void configure(String configuration)
          throws IOException
      {
  
          URL url=Resource.newResource(configuration).getURL();
          if (_configuration!=null && _configuration.equals(url.toString()))
              return;
          if (_configuration!=null)
              throw new IllegalStateException("Already configured with "+_configuration);
          try
          {
              XmlConfiguration config=new XmlConfiguration(url);
              _configuration=url.toString();
              config.configure(this);
          }
          catch(IOException e)
          {
              throw e;
          }
          catch(Exception e)
          {
              log.warn(LogSupport.EXCEPTION,e);
              throw new IOException("Jetty configuration problem: "+e);
          }
      }
docs: Configure the server from an XML file.
  @param configuration The filename or URL of the XML
  configuration file.