You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Pedro Saraiva <ps...@maisis.pt> on 2011/02/09 16:00:39 UTC

WebDav URL

Hello,

It's possible to get the webdav url from a node path? There's a API for 
that?

Kind regards,

Pedro Saraiva


Re: WebDav URL

Posted by Alexander Klimetschek <ak...@adobe.com>.
On 09.02.11 16:00, "Pedro Saraiva" <ps...@maisis.pt> wrote:
>It's possible to get the webdav url from a node path? There's a API for
>that?

That depends on the configuration of the webdav servlet, and where you
place it, which is out of the scope of jackrabbit, hence no API.

The "internal" path relative to the servlet is

<workspace>/<jcr-path>

and IIRC in the jackrabbit-webapp war the webdav servlet is under
repository/, hence you get something like this as URL:

http://localhost:8080/repository/<workspace>/<jcr-path>

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel