Srinivas, Can you post your full code up to the list and I'll have a look, Rgrds Phil
-----Original Message----- From: Srinivas Rao [mailto:[EMAIL PROTECTED] Sent: Fri 22/07/2005 07:20 To: Slide Users Mailing List Cc: Subject: RE: i am new to Slide and not able to connecting client.........please help ... Hi Phillip, I tried using the import org.apache.webdav.lib.*; but i am getting the same error....how can i solve this problem??? Any idea??? Thanks Srinivas --- "Burnside, Phillip (UK - Glasgow)" <[EMAIL PROTECTED]> wrote: > Try using > import org.apache.webdav.lib.*; > > instead of > > import org.apache.webdav.lib.WebdavResource; > > -----Original Message----- > From: Srinivas Rao [mailto:[EMAIL PROTECTED] > Sent: Thu 21/07/2005 17:38 > To: Slide Users Mailing List > Cc: > Subject: i am new to Slide and not able to > connecting client.........please help ... > > > > Hi Friends, > > I got few samples from friends and ne alos....but i > am not able to connect the client through the > WebdavResource ... > > this is the code..... > import org.apache.commons.httpclient.HttpException; > import org.apache.commons.httpclient.HttpURL; > import org.apache.webdav.lib.WebdavResource; > > > HttpURL hrl =new > HttpURL("http://srinivas:1999/slide/); > hrl.setUserinfo("john","john"); > WebdavResource wdr = new WebdavResource(hrl, > WebdavResource.ALL, 0); // here i am getting the > Error... > > System.out.println( wdr.getPath()); > wdr.putMethod(args[0]); > wdr.close(); > > Here is the Exception...... > > org.apache.commons.httpclient.HttpException > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > va:3392) > at > org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.ja > va:3351) > at > org.apache.webdav.lib.WebdavResource.setAllProp(WebdavResource.java:9 > 80) > at > org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.jav > a:1900) > at > org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1 > 301) > at > org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:223) > at SlideTest.main(SlideTest.java:21) > > Can u tell me what is the Wrong in my code.... > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > IMPORTANT NOTICE > If you have received this e-mail in error or wish to > read our e-mail disclaimer statement and monitoring > policy, please refer to the statement below or > contact the sender. > This communication is from Deloitte & Touche LLP. > Deloitte & Touche LLP is a limited liability > partnership registered in England and Wales with > registered number OC303675. A list of members' > names is available for inspection at Stonecutter > Court, 1 Stonecutter Street, London EC4A 4TR, United > Kingdom, the firm's principal place of business and > registered office. Deloitte & Touche LLP is > authorised and regulated by the Financial Services > Authority. > This communication and any attachments contain > information which is confidential and may also be > privileged. It is for the exclusive use of the > intended recipient(s). If you are not the intended > recipient(s) please note that any form of > disclosure, distribution, copying or use of this > communication or the information in it or in any > attachments is strictly prohibited and may be > unlawful. If you have received this communication > in error, please return it with the title "received > in error" to [EMAIL PROTECTED] then > delete the email and destroy any copies of it. > E-mail communications cannot be guaranteed to be > secure or error free, as information could be > intercepted, corrupted, amended, lost, destroyed, > arrive late or incomplete, or contain viruses. We > do not accept liability for any such matters or > their consequences. Anyone who communicates with us > by e-mail is taken to accept the risks in doing so. > When addressed to our clients, any opinions or > advice contained in this e-mail and any attachments > are subject to the terms and conditions expressed in > the governing Deloitte & Touche LLP client > engagement letter. > Opinions, conclusions and other information in this > e-mail and any attachments which do not relate to > the official business of the firm are neither given > nor endorsed by it. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- 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]