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:

{{{ HttpURL homeUrl = new HttpURL("http://localhost:8080/slide/files");

            } 

 } } } 

-Luanne Coutinho

CreateWebDAVResource (last edited 2009-09-20 23:33:28 by localhost)