}
    public void configureWebApp() 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;        }        Resource webInf=getWebAppContext().getWebInf();        // handle any WEB-INF descriptors        if(webInf!=null&&webInf.isDirectory())        {            // do web.xml file            Resource web=webInf.addPath("web.xml");            if(web.exists())                configure(web.getURL().toString());            else            {                Log.debug("No WEB-INF/web.xml in "+getWebAppContext().getWar()                        +". Serving files and default/dynamic servlets only");            }        }    }