public void execute( HttpServletRequest req, HttpServletResponse res, DavPath dp )
throws ServletException, IOException
{
DavContext dc = new DavContext( req, dp );
try
{
Document doc = new SAXBuilder().build( req.getInputStream() );
XPath xpath = XPath.newInstance("/D:propfind/*");
xpath.addNamespace( "D", "DAV:" );
Element firstnode = (Element)xpath.selectSingleNode( doc );
Element davresponse = null;
System.out.println("Request="+dc.getPath()+" depth="+dc.getDepth());
if( firstnode == null || firstnode.getName().equals("allprop") )
{
davresponse = getAllProps( dc );
}