howdy,
quick patch:
add the servlet-path to HTML links generated when browsing
directories. otherwise the links point into oblivion if the
WebdavServlet isn't mapped to the root of the context.
-chris
________________________________________________________________
[EMAIL PROTECTED]
Index: src/webdav/server/org/apache/slide/webdav/method/GetMethod.java
===================================================================
RCS file:
/home/cvspublic/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/GetMethod.java,v
retrieving revision 1.10
diff -u -r1.10 GetMethod.java
--- src/webdav/server/org/apache/slide/webdav/method/GetMethod.java 2001/06/13
04:34:09 1.10
+++ src/webdav/server/org/apache/slide/webdav/method/GetMethod.java 2001/07/10
+06:42:25
@@ -347,6 +347,8 @@
String contextPath = req.getContextPath();
if (contextPath == null)
contextPath = "";
+ if (req.getServletPath() != null)
+ contextPath += req.getServletPath();
String name = object.getUri();