Hello,

   I'm proposing a minor change to WebdavServlet.  In my application, I need 
the actually docBase of the inner-most DirContext to be dynamic dependent on 
request/session data.  I was thinking of the following:  

Create a method like this in WebdavServlet:

protected DirContext getResources(HttpServletRequest req)
{
   return super.getResources();
}

and replacing all calls to getResources()  in the doXX() methods with calls to 
getResources(request).

  Now, my app-specifc servlet can just override the above 
getResources(HttpServletRequest) method to do it's specific stuff and things 
hum merrily along.

  I'd like to submit a patch to WebdavServlet to do this ASAP, but wanted to 
get developer opinion on this before I do it? (specifically, Remy :-) )

Thanks,
russ

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to