<%@ page import="org.apache.jackrabbit.j2ee.JCRWebdavServerServlet, org.apache.jackrabbit.j2ee.RepositoryAccessServlet, org.apache.jackrabbit.j2ee.SimpleWebdavServlet, javax.jcr.Repository"%><% /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ %> Jackrabbit JCR-Server <% Repository rep; try { rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext()); } catch (Throwable e) { %>Error while accessing the repository: <%= e.getMessage() %>
<% %>Check the configuration or use the easy setup wizard.<% return; } %>

JCR-Server

JCR-Server 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()) %>/


Powered by <%= rep.getDescriptor(Repository.REP_NAME_DESC)%> version <%= rep.getDescriptor(Repository.REP_VERSION_DESC) %>.