What is the status code? You can get it from the HttpException. Please configure you mail client so that you name is visible. Or is it only for me that your name is displayed as "null"?
Martin null wrote: > Sorry, Yes I've got an exception in the line where the > webdavresource is created (webres = new > WebdavResource(httpURL);) > > org.apache.commons.httpclient.HttpException: Unable to process > request > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient .java:657) > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResourc e.java:2560) > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResourc e.java:2529) > at > org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource. java:682) > at > org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavRes ource.java:669) > at > org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource .java:1528) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.ja va:976) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.ja va:995) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.ja va:1074) > at > org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:2 59) > at WebDavTest.main(WebDavTest.java:22) > > > Thanx > > > > ------- Original message ------- > From: Martin Dulisch <[EMAIL PROTECTED]> > Date: Mon, 3 Nov 2003 09:28:38 +0100 > Subject: Re: Java Client Problem > > What is the exact problem? Do you get a exception? > > Martin > >>> Hi >>> >>> I'm new to Slide and WebDav >>> >>> I want to use slide for a very simple application. I want >>> the application to save a file to the public html directory >>> from a user on a web server. >>> >>> I guess it's very simple but I could no make it works. >>> >>> Here's the code I'm using to save the file >>> >>> WebdavResource wdres=null; >>> String url = "http://mywebserver/~user/public_html/dav.xml"; >>> HttpURL httpURL = new HttpURL(url); >>> httpURL.setUserInfo("user","password"); >>> wdres = new WebdavResource(httpURL); >>> >>> //boolean done = webres.putMethod(file); //I tried this way >>> but it didn't work >>> >>> WebdavFile webfile = new WebdavFile(wdres); >>> >>> >>> Any Ideas will be very much appreciated and a sample code >>> would be absolutely great >>> >>> Thanks >>> >>> Capital One Classic >>> Mastercard >>> 60 second >>> response online. >>> http://mocda.com/1/c/681064/117934/307081/307081 >>> >>> AOL users go here >>> http://mocda.com/1/c/681064/117934/307081/307081 >>> >>> >>> >> >> >> >>> ------------------------------------------------------------- - > ------- >>> To unsubscribe, e-mail: >>> [EMAIL PROTECTED] >>> For additional commands, e-mail: >>> [EMAIL PROTECTED] > > > > > --------------------------------------------------------------- ------ > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Win �10,000 cash > Enter ScottishPower > �10,000 prize draw > http://mocda.com/1/c/681064/101990/307081/307081 > > AOL users go here - > http://mocda.com/1/c/681064/101990/307081/307081 > > > > > > >> -------------------------------------------------------------- ------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
