%@ 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
JCR-Server
JCR-Server provides 2 views
-
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>/
- Browser View
- Context Path: <%= request.getContextPath() %>
- Resource Path Prefix: <%= SimpleWebdavServlet.getPathPrefix(pageContext.getServletContext()) %>
- Workspace Name: see /WEB-INF/repository/repository.xml (Default = 'default')
- Source: /jcr-server/server/webdav/simple
-
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()) %>/
- Browser View: - Not Available - ("<%= request.getContextPath() %><%= JCRWebdavServerServlet.getPathPrefix(pageContext.getServletContext()) %>/")
- Context Path: <%= request.getContextPath() %>
- Resource Path Prefix: <%= JCRWebdavServerServlet.getPathPrefix(pageContext.getServletContext()) %>
- Workspace Name: - Not required - (available workspaces are mapped as resources)
- Source: /jcr-server/server/webdav/jcr
<%
Repository rep = RepositoryAccessServlet.getRepository(pageContext.getServletContext());
%>
Powered by <%= rep.getDescriptor(Repository.REP_NAME_DESC)%> version <%= rep.getDescriptor(Repository.REP_VERSION_DESC) %>.