Hi, As given on http://www.onjava.com/pub/a/onjava/2003/12/23/slide.html
I have worked out, but I am not able to compile the files. It gives me more than 100 errors. I have even included all the files & jar files. Can any one help me why it is giving so may compile errors when i am using all the files as found from source download Plz help as it is urgent for me to complete Thanks Rahul Some to the errors are as follows: .\org\apache\webdav\lib\WebdavSession.java:147: setState(org.apache.commons.http client.State) in org.apache.commons.httpclient.HttpClient cannot be applied to ( org.apache.webdav.lib.WebdavState) client.setState(new WebdavState()); ^ .\org\apache\webdav\lib\WebdavSession.java:148: cannot resolve symbol symbol : method getHostConfiguration () location: class org.apache.commons.httpclient.HttpClient HostConfiguration hostConfig = client.getHostConfiguration(); ^ .\org\apache\webdav\lib\WebdavSession.java:157: incompatible types found : org.apache.commons.httpclient.UsernamePasswordCredentials required: org.apache.commons.httpclient.Credentials new UsernamePasswordCredentials(userName, ^ .\org\apache\webdav\lib\WebdavSession.java:163: incompatible types found : org.apache.commons.httpclient.State required: org.apache.commons.httpclient.HttpState HttpState clientState = client.getState(); ^ .\org\apache\webdav\lib\WebdavSession.java:170: cannot resolve symbol symbol : method setProxyCredentials (<nulltype>,java.lang.String,org.apache.com mons.httpclient.Credentials) location: class org.apache.commons.httpclient.State client.getState().setProxyCredentials(null, proxyHost, ^ .\org\apache\webdav\lib\WebdavSession.java:213: cannot resolve symbol symbol : method getHostConfiguration () location: class org.apache.commons.httpclient.HttpClient client.getHostConfiguration()).close(); ^ .\org\apache\webdav\lib\WebdavSession.java:212: cannot resolve symbol symbol : method getHttpConnectionManager () location: class org.apache.commons.httpclient.HttpClient client.getHttpConnectionManager().getConnection( ^ .\org\apache\webdav\lib\WebdavResource.java:817: inconvertible types found : org.apache.commons.httpclient.State required: org.apache.webdav.lib.WebdavState WebdavState state = (WebdavState) client.getState(); ^ .\org\apache\webdav\lib\WebdavResource.java:820: cannot resolve symbol symbol : method setRequestHeader (java.lang.String,java.lang.String) location: interface org.apache.commons.httpclient.HttpMethod method.setRequestHeader("Transaction", "<" + txHandle + ">"); ^ .\org\apache\webdav\lib\WebdavResource.java:832: inconvertible types found : org.apache.commons.httpclient.State required: org.apache.webdav.lib.WebdavState WebdavState state = (WebdavState) client.getState(); ^ .\org\apache\webdav\lib\WebdavResource.java:843: cannot resolve symbol symbol : method setRequestHeader (java.lang.String,java.lang.String) location: interface org.apache.commons.httpclient.HttpMethod method.setRequestHeader("If", ifHeaderValue.toString()); ^ .\org\apache\webdav\lib\WebdavResource.java:1224: cannot resolve symbol symbol : method getHostConfiguration () location: class org.apache.commons.httpclient.HttpClient HostConfiguration hostConfig = client.getHostConfiguration(); ^ .\org\apache\webdav\lib\WebdavResource.java:1226: cannot resolve symbol symbol : method getCredentials (<nulltype>,java.lang.String) location: class org.apache.commons.httpclient.State client.getState().getCredentials(null, hostConfig.getHost()); ^ .\org\apache\webdav\lib\WebdavResource.java:1230: inconvertible types found : org.apache.commons.httpclient.Credentials required: org.apache.commons.httpclient.UsernamePasswordCredentials if (creds instanceof UsernamePasswordCredentials) { ^ .\org\apache\webdav\lib\WebdavResource.java:1231: inconvertible types found : org.apache.commons.httpclient.Credentials required: org.apache.commons.httpclient.UsernamePasswordCredentials UsernamePasswordCredentials upc = (UsernamePasswordCredentials) cred s; ^