You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Garret Wilson <ga...@globalmentor.com> on 2004/12/18 01:44:51 UTC
how do I get WebdavResource.mkcolMethod() to work?
I have a WebdavResource representing "http://www.example.com/base/".
I execute webdavresource.mkColMethod("test/"), which returns false.
I execute webdavresource.mkColMethod("test"), which returns false as well.
What am I doing wrong? I'm using Tomcat 5.5.4 with the Tomcat WebDAV
servlet.
Garret
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: how do I get WebdavResource.mkcolMethod() to work?
Posted by Roy Russo <ro...@jboss.com>.
This should work for you:
wdResource.mkcolMethod("/slide/files/images");
I think you should ignore the wdresource path in this case and start at the
root. My wd root is http://localhost:8080/slide and I still have to mkcol
with the fullpath.
Roy Russo
JBoss Portal Developer
----- Original Message -----
From: "Garret Wilson" <ga...@globalmentor.com>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Friday, December 17, 2004 7:44 PM
Subject: how do I get WebdavResource.mkcolMethod() to work?
>I have a WebdavResource representing "http://www.example.com/base/".
>
> I execute webdavresource.mkColMethod("test/"), which returns false.
>
> I execute webdavresource.mkColMethod("test"), which returns false as well.
>
> What am I doing wrong? I'm using Tomcat 5.5.4 with the Tomcat WebDAV
> servlet.
>
> Garret
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org