Differences between revisions 1 and 2
Revision 1 as of 2004-06-24 20:50:52
Size: 796
Editor: host67
Revision 2 as of 2009-09-20 22:02:33
Size: 796
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Creating a WebDAV Resource

Creating a WebdavResource is simple. All you need to do is create an org.apache.commons.httpclient.HttpURL to your Slide repository and set the username/password. Pass this URL to the WebdavResource constructor, and you have a ready WebdavResource that you can use to perform various WebDAV tasks.

Example code:

        WebdavResource res=null;
        try {
            HttpURL homeUrl = new HttpURL("http://localhost:8080/slide/files");
            res = new WebdavResource(homeUrl);
            if(res==null) {
                //Something is wrong!!!
        catch(HttpException he) {
        catch(IOException ioe) {


CreateWebDavResource (last edited 2009-09-20 22:02:33 by localhost)