<%@ page import="org.apache.jackrabbit.j2ee.SimpleWebdavServlet, javax.jcr.Repository, org.apache.jackrabbit.j2ee.RepositoryAccessServlet, org.apache.jackrabbit.j2ee.JCRWebdavServerServlet"%><% %> Jackrabbit JCR-Server Contribution

JCR-Server Contribution

JCR-Server contribution provides 2 views

  1. Filebased View (SimpleWebdavServlet)

    Filebased ("Simple") WebDAV View to the JSR170 repository.

    Enter the following URL to your WebDAV client:
    http://<host>:<port><%= request.getContextPath() %><%= SimpleWebdavServlet.getPathPrefix(pageContext.getServletContext()) %>/<workspace name>/

  2. Item View (JCRServerServlet)

    Itembased WebDAV View to the JSR170 repository, mapping the functionality provided by JSR170 to WebDAV, in order to allow remoting of JSR170 via WebDAV. Some more details regarding remoting are available as initial draft "JCR_Webdav_Protocol.zip". In addition the implementation attempts to cover functionality of RFC 2518 and its extensions wherever possible, namely

    Enter the following URL to your WebDAV client:
    http://<host>:<port><%= request.getContextPath() %><%= JCRWebdavServerServlet.getPathPrefix(pageContext.getServletContext()) %>/

Basic overview

  1. webdav module (library only)

  2. server module

  3. webapp module (jackrabbit-server)

  4. client module

<% Repository rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext()); %>
Powered by <%= rep.getDescriptor(Repository.REP_NAME_DESC)%> version <%= rep.getDescriptor(Repository.REP_VERSION_DESC) %>.