Thierry, et al,

I have been working with the "Directory" class, and running into
limitations.  I realized that because I am also running Tomcat, the built-in
webdav met my needs.  However--and because you were asking for
suggestions--I realized that the Directory class could easily be improved:

1) Allow for stylesheets, see Tomcat's WebdavServlet setup (localXsltFile,
and globalXsltFile).  Note that a URI (instead of a path) would be even
better.

2) Have the default representation return XHTML (instead of the current
nonX HTML).  This would allow a programmatic caller to read the list as XML
(a request from one of my users).

3) Add a simple authorization hook, or at least clearly describe how to
authorize access to certain directories.  Note that even in Tomcat, I had to
go digging through the code to figure out how to subclass.

4) Add full webdav capability.  Given that WebdavServlet is Apache
License--and not very big--it seems that you could easily support full
webdav out of the box.

Cliff Binstock
Coyote Reporting

Reply via email to