Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Webdav Access Project

This project offers Webdav access to user data (filesystem, DB, ...).
It supports both Webdav Servlet and Webdav Client access (class WebdavClient).
Webdab Servlet can be used as standalone or as part of another web application.


I have started this project because the original WebDAV-Servlet was not able to
work as part of another web application and because bugs in WebDAV-Servlet.
Version 2.0 of WebDAV-Servlet was completely rewritten, but it is buggy and it was not released yet.


webdav-access-1.0-client.jar  - client library and servlet jar. To start servlet in your web application
                                install in <webapp>/WEB_INF/lib library (see other dependencies). You can
                                use the webdav-access-*-install.zip to install all needed libraries.
                                For client access only, use just this jar.
webdav-access-1.0.war         - standalone Webdav Servlet
webdav-access-1.0-install.zip - use to install Webdav Servlet and dependencies in <webapp>/WEB_INF/lib
webdav-access-1.0-project.zip - project zip file with sources
webdav-access-1.0-javadoc.jar - javadoc distribution



Note, that dependent libraries are available in WEB-INF/lib in 
Note, that slide-webdavlib is available in externaljars directory and should be installed
in local maven repository before build (development).


This project servlet is based on WebDAV-Servlet version 1.2 from
Client part is based on Slide client library.

Thank Remy Maucherat for the original webdav-servlet
and the dependent files that come with tomcat,
and Oliver Zeigermann for the slide-WCK.
IWebdavStorage class is modeled after his BasicWebdavStore.
WebDAV Servlet

What is it?
  A Servlet that brings basic WebDAV access to any store. Only 1 interface 
  (IWebdavStorage) has to be implemented, an example (LocalFileSystemStorage)
  which uses the local filesystem, is provided.
  Unlike large systems (like slide), this servlet only supports the most basic
  data access options. locking, versioning or user management are not supported


  JDK 1.42 or above
  apache-tomcat 5.0.28 or above


  -place the webdav-servlet.jar in the /WEB-INF/lib/ of your webapp
  -open web.xml of the webapp. it needs to contain the following:
				name of the class that implements
				place where to store the webdavcontent on the local
				name of the class that implements
				org.webdavaccess.IWebdavAuthorization (optional)
				name of the class that implements
				org.webdavaccess.IWebdavAlias (optional)
				triggers debug output of the
				webdavStoreImplementation (0 = off , 1 = on) off by default
				Makes the Webdav read only
  -if you want to use the reference implementation, set the parameter "rootpath"
   to where you want to store your files.
  -if you have implemented your own store, insert the class name
   to the parameter  "webdavStoreImplementation" and copy your .jar to /WEB-INF/lib/

  -if you have implemented your own authorization, insert the class name
   to the parameter  "webdavAuthorizationImplementation" and copy your .jar to /WEB-INF/lib/

  -if you have implemented your own alias manager, insert the class name
   to the parameter  "webdavAliasManagerImplementation" and copy your .jar to /WEB-INF/lib/

  -with the "servletDebug" parameter you can trigger the reference store implementation
   to spam at every method call. this parameter is optional and can be omitted

  -authentication is done by the servlet-container. If you need it, you have to
   add the appropriate sections to the web.xml


  the webdav-filestore can be reached at:
  "http://<ip/name + port of the server>/<name of the webapp>/webdav"
  e.g.:   http://localhost:8080/webdav or http://localhost:8080/mywebapp/webdav/