code: public void configureDefaults() throws Exception
      {
          //cannot configure if the context is already started
          if (_context.isStarted())
          {
              if (log.isDebugEnabled()){log.debug("Cannot configure webapp after it is started");};
              return;
          }
          
          getWebApplicationContext().setWelcomeFiles(null);
          
          String defaultsDescriptor=getWebApplicationContext().getDefaultsDescriptor();
          if(defaultsDescriptor!=null&&defaultsDescriptor.length()>0)
          {
              Resource dftResource=Resource.newSystemResource(defaultsDescriptor);
              if(dftResource==null)
                  dftResource=Resource.newResource(defaultsDescriptor);
              XmlParser.Node defaultConfig=xmlParser.parse(dftResource.getURL());
              initialize(defaultConfig);
          }
      }
docs: /* -------------------------------------------------------------------------------