Sung-Gu writes:
> Hi Elodie,
>
> You need for the www-server to allow the method, propatch.
>
> Sung-Gu
>
> ----- Original Message -----
> From: "Elodie Tasia" <[EMAIL PROTECTED]>
> To: "Slide Group" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 27, 2002 8:16 PM
> Subject: Problem with proppatch
>
>
> Hi !
>
> I have a big problem with the PROPPATCH method...
>
> I try to do that kind of action : I create a resource and I had a new property.
> My code is like that :
>
> WebdavResource res = new WebdavResource("localhost", 8080, "/webdav/index.html",
>"root", "root");
> res.proppatchMethod("/webdav/index.html", "author", "Joe");
>
> Although it works very well with Apache, with Slide, I receive a nice :
>
> HTTP/1.1 405 Method Not Allowed
> Content-Type: text/html
> Date: Wed, 27 Mar 2002 11:12:36 GMT
> Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
>
> So maybe I didn't configured well the root, but I don't know why, and I wonder if I
>missed something in the configuration of Slide or not.
> Can someone help ?
>
> Thanx
please is it possible to help me to run the simplewebdavservlet
i read the doc and i dont see the folder
webapps\slide\WEB-INF\classes
shall i create it like if i create new webapp??
Here is how you have to extend the WebdavServlet:
1) compile the provided SimpleWebdavServlet
2) copy it here: webapps\slide\WEB-INF\classes\SimpleWebdavServlet.class
3) modify: webapps\slide\WEB-INF\web.xml
change:
<servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
to:
<servlet-class>SimpleWebdavServlet</servlet-class>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>