tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinh, Chinh" <dinhtch...@yahoo.com>
Subject Please Help : STRANGE WEBDAV problem with the setting in WEB.XML
Date Fri, 11 Jul 2003 19:22:37 GMT
Hi,
If you install Tomcat 4, you should be able to open webdav as a webfolder by doing : http://localhost:8080/webdav
(open as a webfolder).  However, if I change the webdav servlet name to another name (eg.
"mywebdav"), and try to open http://localhost:8080/mywebdav, it gave me the error "cannot
open http://...... as a web folder" !.  
Is there a hard-coded path somewhere ?  Does the implementation of webdav servlet have some
kind of "forward" to "/webdav" ???? Thanks .
- Chinh
 
<servlet>
    <servlet-name>mywebdav</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>
    <!-- Uncomment this to enable read and write access -->
    <init-param>
      <param-name>readonly</param-name>
      <param-value>false</param-value>
    </init-param>
    <!--load-on-startup>1</load-on-startup-->
  </servlet>
  <!-- The mapping for the webdav servlet -->
  <servlet-mapping>
    <servlet-name>mywebdav</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>



---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message