webdav servlet file path; documentation

2004-09-25 Thread Garret Wilson
I just stumbled upon the Tomcat webdav servlet, which *almost* meets all my needs. 1. Is there some more complete documentation somewhere? By default the servlet accesses the file system inside the web context. (That is, a servlet mapped to /context/webapp/* will show files in /context/webapp/

Re: webdav servlet file path; documentation

2004-09-25 Thread Garret Wilson
Garret Wilson wrote: By default the servlet accesses the file system inside the web context. (That is, a servlet mapped to /context/webapp/* will show files in /context/webapp/ .) Ack! Apparently the servlet will allow access to files in /context/ , which is much worse? 3. How do I map the serv

RE: webdav servlet file path; documentation

2004-10-02 Thread Mark Thomas
From: Garret Wilson [mailto:[EMAIL PROTECTED] > > Something like this: > > > > This should be a parameter of the webdav servlet rather than a context one. > I can't imagine why this wouldn't be a simple change to the Tomcat > WebDAV code---probably just five or ten lines. You start with

Re: webdav servlet file path; documentation

2004-11-29 Thread Garret Wilson
Mark, Thanks for giving me a place to start. I've had a half-our glance at the source code; let me know if I'm going in the right direction. Doesn't this simply entail making sure that the ProxyDirContext resources object created in DefaultServlet has the correct file system root? Would that ha