> Here is how you have to extend the WebdavServlet:
> 1) compile the attached SimpleServlet
> 2) copy it here: webapps\slide\WEB-INF\classes\SimpleServlet.class
> 3) modify: webapps\slide\WEB-INF\web.xml
> change:
> <servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
>
> to:
> <servlet-class>SimpleServlet</servlet-class>
>
> Now when you request a directory listing, the following text is
printed
> on the top of the page
> "This my servlet and not the default one"
Thanks for your help Remy. I have done all above steps. Now, I can see
your SimpleServlet page as you expected. Indeed I saw my
SimpleServletForGet servlet but again by changing :
<servlet-class>SimpleServlet</servlet-class>
to:
<servlet-class>SimpleServletForGet</servlet-class>
Is there any reasonable way?
Still I don't know how I can MKCOL a resource, then PropPatch some
properties on it , and then PropGet these properties in three different
way as mentioned in RFC2518 by servlets.
Further more, If I want to use of slide's webdav client to uses of
webdav methods as long as servlets, what should I do?
I had installed slide 1.0.11 before and I could create mkcol, proppatch
and propget by using the run.sh in client/bin directory and also make
them persistent into a database. Do you know how can I use the slide's
webdav client with jakarta-tomcat-3.2.3.
Thanks indeed.
Bita.