Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can WebDav access be configured on Jetty?

I'm trying to get WebDav access configured on Jetty, but I'm unable to find any documentation or any working examples specific to Jetty. So I've tried to retrofit WebDav access for Tomcat unsuccessfully by adding the below servlet config to Jetty's webdefault.xml and placing catalina.jar in Jetty's lib/ext directory

Can anyone point me to working example or should I be doing more to get Tomcat's WebDav access working on Jetty?

    <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>

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

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

<servlet-mapping>
    <servlet-name>webdav</servlet-name>
    <url-pattern>/sitesedit/*</url-pattern>
</servlet-mapping>
like image 937
Logunbay Avatar asked Apr 25 '18 07:04

Logunbay


1 Answers

There is an old project called Webdav Servlet Project in SourceForge, here is a fork. There is also a most recent project called WebDav Nio Adapter based on Apache JackRabbit Servlet, suggested by @df778899

like image 140
Rafael Guillen Avatar answered Sep 27 '22 19:09

Rafael Guillen