|
From: Michael K. <ko...@us...> - 2005-01-19 15:30:09
|
Update of /cvsroot/cobricks/cobricks2/web/WEB-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29815/WEB-INF Modified Files: web.xml Log Message: Index: web.xml =================================================================== RCS file: /cvsroot/cobricks/cobricks2/web/WEB-INF/web.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- web.xml 11 Sep 2004 18:19:11 -0000 1.8 +++ web.xml 19 Jan 2005 15:29:51 -0000 1.9 @@ -238,6 +238,36 @@ <url-pattern>/servlet/AdminServlet</url-pattern> </servlet-mapping> + + <!-- needed for supporting WebDAV access to items and portal pages --> + <!-- make sure that not only the class WebdavServlet is available in + the classpath, but also the Catalina servlet and helper classes - + this can be achieved by copying the contents of the + $CATALINA-HOME/server/libs directory into the libs directory + of the web application --> + <servlet> + <servlet-name>webdav</servlet-name> + <servlet-class>org.cobricks.portal.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> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>webdav</servlet-name> + <url-pattern>/webdav/*</url-pattern> + </servlet-mapping> + + <!-- currently the W3C havent settled on a media type for WSDL; http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft for now we go with the basic 'it's XML' response --> |