%@ page import="org.apache.jackrabbit.j2ee.SimpleWebdavServlet,
java.net.URI"
%><%--
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.
--%><%@page import="org.apache.jackrabbit.util.Text"%><%
request.setAttribute("title", "Standard WebDAV Server");
URI uri = new URI(request.getRequestURL().toString());
String href =
uri.getScheme() + "://" + uri.getHost() + ":" + uri.getPort()
+ request.getContextPath()
+ SimpleWebdavServlet.getPathPrefix(pageContext.getServletContext())
+ "/default/";
href = Text.encodeIllegalXMLCharacters(href);
%>
The default WebDAV server (aka: Simple Server) is a DAV 1,2 and DeltaV compliant WebDAV server implementation. It offers a file-based view to the JCR repository, suitable for everybody looking for standard WebDAV functionality. Essentially, the contents of the underlying content repository are exposed as a hierarchical collection of files and folders.
Use the following URL to access the content repository in your WebDAV client:
The server asks for authentication, but by default any username and password is accepted. You can modify this security policy in the repository configuration file.
To access other workspace than the default one, replace the last part of
the URL (/default/
) with the name of another workspace.
You can also search the default workspace populate it with example content from the Internet.
Many operating systems, including Windows and Mac OS X, allow you to "mount" a WebDAV server as a shared network disk. You can use the above URL to make the default workspace available as such a network disk, after which you can use normal file system tools to copy files and folders to and from the content repository.