You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Setup

Tomcat comes prebundled with a WebDAV Level 2 servlet. To enable, add the following to web.xml:

<servlet>
  <servlet-name>webdav</servlet-name>
  <servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
  <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
  </init-param>
  <init-param>
    <param-name>listings</param-name>
    <param-value>true</param-value>
  </init-param>

  <!-- The following for read-write access -->

  <init-param>
    <param-name>readonly</param-name>
    <param-value>false</param-value>
  </init-param>
</servlet>

<servlet-mapping>
  <servlet-name>webdav</servlet-name>
  <url-pattern>/*</url-pattern>
</servlet-mapping>

Of course, you can set the url-pattern to make the content editable from a different URL. Also, be sure to secure access appropriately to the editing URLs.

Webdav information and solutions

  • Self:Tomcat/WebDav_MsWebfolders MS webfolder issues and solutions
  • Self:Tomcat/WebDav_MsWebfoldersInfo MS webfolder Information
  • No labels