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 Mark Breitner <ma...@gmx.de> on 2005/07/14 14:38:24 UTC

How to change the path slide is accessible???

Hello,


who knows how to change the path the Webdav Construction Kit (WCK) creates
(http://localhost:8080/slide) into another one, like this :
http://localhost:8080/anyFoldername/slide ???????

Please help me, this is very urgent

With kind regards

M.B.

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Webdavresource

Posted by John Rousseau <jr...@archivas.com>.
You're missing jdom.jar in your classpath / WAR.

-John


Kevin.Bombardier@sybase.com wrote:
> I am trying to create a Webdavresource in my client code:
> (as shown in the example at
> http://wiki.apache.org/jakarta-slide/CreateWebDavResource)
> 
> HttpURL httpurl = new HttpURL("http://localhost:16080/slide/files");
> httpurl.setUserinfo("operator","operator");
> WebdavResource wdr = new WebdavResource(httpurl);
> 
> and I get the following exception:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/jdom/input/DOMBuilder
>         at
> org.apache.webdav.lib.BaseProperty.getPropertyAsString(BaseProperty.java:129)
>         at
> org.apache.webdav.lib.WebdavResource.processProperty(WebdavResource.java:4974)
>         at
> org.apache.webdav.lib.WebdavResource.setWebdavProperties(WebdavResource.java:1075)
>         at
> org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:977)
>         at
> org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:921)
>         at
> org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1920)
>         at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1312)
>         at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1334)
>         at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1422)
>         at
> org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:284)
>         at mil.oni.slide.test.SlideTest.visitAllFiles(SlideTest.java:159)
>         at mil.oni.slide.test.SlideTest.visitAllFiles(SlideTest.java:135)
>         at mil.oni.slide.test.SlideTest.main(SlideTest.java:92)
> 
> I do not think it is really a class not found but something else going on.
> 
> I use DAVExplorer and login into http://localhost:16080/slide/files using
> operator/operator with no problem.  I can also create a collection and add
> a file using DAVExplorer.
> 
> Any idea what is going on in my client code or what I might look at to try
> and debug/solve?
> Thanks
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 
> 

-- 
John Rousseau
Archivas, Inc.
jrousseau@archivas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Webdavresource

Posted by Ke...@sybase.com.
I am trying to create a Webdavresource in my client code:
(as shown in the example at
http://wiki.apache.org/jakarta-slide/CreateWebDavResource)

HttpURL httpurl = new HttpURL("http://localhost:16080/slide/files");
httpurl.setUserinfo("operator","operator");
WebdavResource wdr = new WebdavResource(httpurl);

and I get the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/input/DOMBuilder
        at
org.apache.webdav.lib.BaseProperty.getPropertyAsString(BaseProperty.java:129)
        at
org.apache.webdav.lib.WebdavResource.processProperty(WebdavResource.java:4974)
        at
org.apache.webdav.lib.WebdavResource.setWebdavProperties(WebdavResource.java:1075)
        at
org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:977)
        at
org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:921)
        at
org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1920)
        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1312)
        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1334)
        at
org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1422)
        at
org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:284)
        at mil.oni.slide.test.SlideTest.visitAllFiles(SlideTest.java:159)
        at mil.oni.slide.test.SlideTest.visitAllFiles(SlideTest.java:135)
        at mil.oni.slide.test.SlideTest.main(SlideTest.java:92)

I do not think it is really a class not found but something else going on.

I use DAVExplorer and login into http://localhost:16080/slide/files using
operator/operator with no problem.  I can also create a collection and add
a file using DAVExplorer.

Any idea what is going on in my client code or what I might look at to try
and debug/solve?
Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by Mark Breitner <ma...@gmx.de>.
Woohoow !!!

You´re right !

I now works fine for me :))

thanks for your help :)

Greetings,

Mark

> --- Ursprüngliche Nachricht ---
> Von: John Rousseau <jr...@archivas.com>
> An: Slide Users Mailing List <sl...@jakarta.apache.org>
> Betreff: Re: How to change the path slide is accessible???
> Datum: Thu, 14 Jul 2005 11:19:22 -0400
> 
> Ahh. Nope.
> 
> The <url-pattern> in the servlet mapping should have the value 
> "/slide/*", not "slide".
> 
> Give that a try.
> 
> -John
> 
> 
> Mark Breitner wrote:
> > Hi :)
> > 
> > This is what I changed in the web.xml :
> > 
> > 
> > 1) changed the mapping :
> > 
> > <servlet-mapping>
> >         <servlet-name>webdav</servlet-name>
> >         <url-pattern>slide</url-pattern>
> > </servlet-mapping
> > 
> > 2) changed the default :
> > 
> > <init-param>
> >             <param-name>default-servlet</param-name>
> >             <param-value>false</param-value>
> > ...
> > 
> > is this correct so far ?
> > 
> > mark
> > 
> > 
> > 
> > 
> > 
> >>--- Ursprüngliche Nachricht ---
> >>Von: John Rousseau <jr...@archivas.com>
> >>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>Betreff: Re: How to change the path slide is accessible???
> >>Datum: Thu, 14 Jul 2005 11:08:54 -0400
> >>
> >>Hmmmm. I'm stumped on that one. You made both changes?
> >>
> >>You might want to play with the scope init-param, but I'm just guessing 
> >>at this point.
> >>
> >>Sorry
> >>-John
> >>
> >>
> >>Mark Breitner wrote:
> >>
> >>>Hi,
> >>>
> >>>thanks for your answer but after doing this I can´t access all the
> >>>subfolders like "files" any more.
> >>>
> >>>Do you know how to fix this ?
> >>>
> >>>With kind regards
> >>>
> >>>Mark breitner
> >>>
> >>>
> >>>
> >>>>--- Ursprüngliche Nachricht ---
> >>>>Von: John Rousseau <jr...@archivas.com>
> >>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>>>Betreff: Re: How to change the path slide is accessible???
> >>>>Datum: Thu, 14 Jul 2005 10:03:44 -0400
> >>>>
> >>>>Change the web.xml in your app to map the slide servlet to "/slide/*" 
> >>>>instead of "/". You will also need to change the "default-servlet" 
> >>>>init-param to "false" for the slide servlet.
> >>>>
> >>>>You can then access slide on /slide/* and still have the rest of your 
> >>>>namespace available to your application.
> >>>>
> >>>>-John
> >>>>
> >>>>
> >>>>Mark Breitner wrote:
> >>>>
> >>>>
> >>>>>Well, maybe I should just describe what I wanted to do :
> >>>>>
> >>>>>I want to use the WCK within an other web application. If I just copy
> >>>>
> >>>>the
> >>>>
> >>>>
> >>>>>appropriate entries in the web.xml to the web.xml file within my
> other
> >>>>
> >>>>web
> >>>>
> >>>>
> >>>>>application my web application isn´t reachable any more.
> >>>>>
> >>>>>
> >>>>>So I have to find a way to make WCK accessible within my web
> >>>>
> >>>>application.
> >>>>
> >>>>
> >>>>>Can anyone help me ?
> >>>>>
> >>>>>With kind regards
> >>>>>
> >>>>>Mark breitner
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>--- Ursprüngliche Nachricht ---
> >>>>>>Von: John Rousseau <jr...@archivas.com>
> >>>>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>>>>>Betreff: Re: How to change the path slide is accessible???
> >>>>>>Datum: Thu, 14 Jul 2005 09:00:06 -0400
> >>>>>>
> >>>>>>Hi Mark,
> >>>>>>
> >>>>>>This is hard to do. The WebDAV server interface is implemented as a
> >>
> >>Java
> >>
> >>>>>>Servlet. Servlets provide several URL path mapping patterns to use.
> >>
> >>One 
> >>
> >>>>>>of the most flexible ones is:
> >>>>>>
> >>>>>>/some/path/*
> >>>>>>
> >>>>>>This will allow you to have /slide/anyFoldername URLs, but not the
> >>
> >>kind 
> >>
> >>>>>>of URLs you want. Note that the Servlet spec does not allow /*/slide
> >>>>>>type patterns. There are no other servlet patterns that will do what
> >>
> >>you
> >>
> >>>>>>want unless you want _all_ requests to go to slide.
> >>>>>>
> >>>>>>Maybe you could modify your model a bit to work with what servlets
> can
> >>>>>>provide (ie. /slide/anyFoldername).
> >>>>>>
> >>>>>>Another approach is to setup your namespace like 
> >>>>>>/foo/anyFoldername/slide and write a servlet that listens on /foo/*
> >>
> >>and 
> >>
> >>>>>>have that servlet dispatch for you.
> >>>>>>
> >>>>>>-John
> >>>>>>
> >>>>>>Mark Breitner wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hello,
> >>>>>>>
> >>>>>>>
> >>>>>>>who knows how to change the path the Webdav Construction Kit (WCK)
> >>>>>>
> >>>>>>creates
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>(http://localhost:8080/slide) into another one, like this :
> >>>>>>>http://localhost:8080/anyFoldername/slide ???????
> >>>>>>>
> >>>>>>>Please help me, this is very urgent
> >>>>>>>
> >>>>>>>With kind regards
> >>>>>>>
> >>>>>>>M.B.
> >>>>>>>
> >>>>>>
> >>>>>>-- 
> >>>>>>John Rousseau
> >>>>>>Archivas, Inc.
> >>>>>>jrousseau@archivas.com
> >>>>>>
>
>>>>>>---------------------------------------------------------------------
> >>>>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>>>>>
> >>>>>
> >>>>>
> >>>>-- 
> >>>>John Rousseau
> >>>>Archivas, Inc.
> >>>>jrousseau@archivas.com
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>>>
> >>>
> >>>
> >>-- 
> >>John Rousseau
> >>Archivas, Inc.
> >>jrousseau@archivas.com
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>
> > 
> > 
> 
> -- 
> John Rousseau
> Archivas, Inc.
> jrousseau@archivas.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by John Rousseau <jr...@archivas.com>.
Ahh. Nope.

The <url-pattern> in the servlet mapping should have the value 
"/slide/*", not "slide".

Give that a try.

-John


Mark Breitner wrote:
> Hi :)
> 
> This is what I changed in the web.xml :
> 
> 
> 1) changed the mapping :
> 
> <servlet-mapping>
>         <servlet-name>webdav</servlet-name>
>         <url-pattern>slide</url-pattern>
> </servlet-mapping
> 
> 2) changed the default :
> 
> <init-param>
>             <param-name>default-servlet</param-name>
>             <param-value>false</param-value>
> ...
> 
> is this correct so far ?
> 
> mark
> 
> 
> 
> 
> 
>>--- Ursprüngliche Nachricht ---
>>Von: John Rousseau <jr...@archivas.com>
>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>Betreff: Re: How to change the path slide is accessible???
>>Datum: Thu, 14 Jul 2005 11:08:54 -0400
>>
>>Hmmmm. I'm stumped on that one. You made both changes?
>>
>>You might want to play with the scope init-param, but I'm just guessing 
>>at this point.
>>
>>Sorry
>>-John
>>
>>
>>Mark Breitner wrote:
>>
>>>Hi,
>>>
>>>thanks for your answer but after doing this I can´t access all the
>>>subfolders like "files" any more.
>>>
>>>Do you know how to fix this ?
>>>
>>>With kind regards
>>>
>>>Mark breitner
>>>
>>>
>>>
>>>>--- Ursprüngliche Nachricht ---
>>>>Von: John Rousseau <jr...@archivas.com>
>>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>>>Betreff: Re: How to change the path slide is accessible???
>>>>Datum: Thu, 14 Jul 2005 10:03:44 -0400
>>>>
>>>>Change the web.xml in your app to map the slide servlet to "/slide/*" 
>>>>instead of "/". You will also need to change the "default-servlet" 
>>>>init-param to "false" for the slide servlet.
>>>>
>>>>You can then access slide on /slide/* and still have the rest of your 
>>>>namespace available to your application.
>>>>
>>>>-John
>>>>
>>>>
>>>>Mark Breitner wrote:
>>>>
>>>>
>>>>>Well, maybe I should just describe what I wanted to do :
>>>>>
>>>>>I want to use the WCK within an other web application. If I just copy
>>>>
>>>>the
>>>>
>>>>
>>>>>appropriate entries in the web.xml to the web.xml file within my other
>>>>
>>>>web
>>>>
>>>>
>>>>>application my web application isn´t reachable any more.
>>>>>
>>>>>
>>>>>So I have to find a way to make WCK accessible within my web
>>>>
>>>>application.
>>>>
>>>>
>>>>>Can anyone help me ?
>>>>>
>>>>>With kind regards
>>>>>
>>>>>Mark breitner
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>--- Ursprüngliche Nachricht ---
>>>>>>Von: John Rousseau <jr...@archivas.com>
>>>>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>>>>>Betreff: Re: How to change the path slide is accessible???
>>>>>>Datum: Thu, 14 Jul 2005 09:00:06 -0400
>>>>>>
>>>>>>Hi Mark,
>>>>>>
>>>>>>This is hard to do. The WebDAV server interface is implemented as a
>>
>>Java
>>
>>>>>>Servlet. Servlets provide several URL path mapping patterns to use.
>>
>>One 
>>
>>>>>>of the most flexible ones is:
>>>>>>
>>>>>>/some/path/*
>>>>>>
>>>>>>This will allow you to have /slide/anyFoldername URLs, but not the
>>
>>kind 
>>
>>>>>>of URLs you want. Note that the Servlet spec does not allow /*/slide 
>>>>>>type patterns. There are no other servlet patterns that will do what
>>
>>you
>>
>>>>>>want unless you want _all_ requests to go to slide.
>>>>>>
>>>>>>Maybe you could modify your model a bit to work with what servlets can
>>>>>>provide (ie. /slide/anyFoldername).
>>>>>>
>>>>>>Another approach is to setup your namespace like 
>>>>>>/foo/anyFoldername/slide and write a servlet that listens on /foo/*
>>
>>and 
>>
>>>>>>have that servlet dispatch for you.
>>>>>>
>>>>>>-John
>>>>>>
>>>>>>Mark Breitner wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello,
>>>>>>>
>>>>>>>
>>>>>>>who knows how to change the path the Webdav Construction Kit (WCK)
>>>>>>
>>>>>>creates
>>>>>>
>>>>>>
>>>>>>
>>>>>>>(http://localhost:8080/slide) into another one, like this :
>>>>>>>http://localhost:8080/anyFoldername/slide ???????
>>>>>>>
>>>>>>>Please help me, this is very urgent
>>>>>>>
>>>>>>>With kind regards
>>>>>>>
>>>>>>>M.B.
>>>>>>>
>>>>>>
>>>>>>-- 
>>>>>>John Rousseau
>>>>>>Archivas, Inc.
>>>>>>jrousseau@archivas.com
>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>>>>
>>>>>
>>>>>
>>>>-- 
>>>>John Rousseau
>>>>Archivas, Inc.
>>>>jrousseau@archivas.com
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>>
>>>
>>>
>>-- 
>>John Rousseau
>>Archivas, Inc.
>>jrousseau@archivas.com
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
> 
> 

-- 
John Rousseau
Archivas, Inc.
jrousseau@archivas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by Mark Breitner <ma...@gmx.de>.
Hi :)

This is what I changed in the web.xml :


1) changed the mapping :

<servlet-mapping>
        <servlet-name>webdav</servlet-name>
        <url-pattern>slide</url-pattern>
</servlet-mapping

2) changed the default :

<init-param>
            <param-name>default-servlet</param-name>
            <param-value>false</param-value>
...

is this correct so far ?

mark




> --- Ursprüngliche Nachricht ---
> Von: John Rousseau <jr...@archivas.com>
> An: Slide Users Mailing List <sl...@jakarta.apache.org>
> Betreff: Re: How to change the path slide is accessible???
> Datum: Thu, 14 Jul 2005 11:08:54 -0400
> 
> Hmmmm. I'm stumped on that one. You made both changes?
> 
> You might want to play with the scope init-param, but I'm just guessing 
> at this point.
> 
> Sorry
> -John
> 
> 
> Mark Breitner wrote:
> > Hi,
> > 
> > thanks for your answer but after doing this I can´t access all the
> > subfolders like "files" any more.
> > 
> > Do you know how to fix this ?
> > 
> > With kind regards
> > 
> > Mark breitner
> > 
> > 
> >>--- Ursprüngliche Nachricht ---
> >>Von: John Rousseau <jr...@archivas.com>
> >>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>Betreff: Re: How to change the path slide is accessible???
> >>Datum: Thu, 14 Jul 2005 10:03:44 -0400
> >>
> >>Change the web.xml in your app to map the slide servlet to "/slide/*" 
> >>instead of "/". You will also need to change the "default-servlet" 
> >>init-param to "false" for the slide servlet.
> >>
> >>You can then access slide on /slide/* and still have the rest of your 
> >>namespace available to your application.
> >>
> >>-John
> >>
> >>
> >>Mark Breitner wrote:
> >>
> >>>Well, maybe I should just describe what I wanted to do :
> >>>
> >>>I want to use the WCK within an other web application. If I just copy
> >>
> >>the
> >>
> >>>appropriate entries in the web.xml to the web.xml file within my other
> >>
> >>web
> >>
> >>>application my web application isn´t reachable any more.
> >>>
> >>>
> >>>So I have to find a way to make WCK accessible within my web
> >>
> >>application.
> >>
> >>>Can anyone help me ?
> >>>
> >>>With kind regards
> >>>
> >>>Mark breitner
> >>>
> >>>
> >>>
> >>>
> >>>>--- Ursprüngliche Nachricht ---
> >>>>Von: John Rousseau <jr...@archivas.com>
> >>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>>>Betreff: Re: How to change the path slide is accessible???
> >>>>Datum: Thu, 14 Jul 2005 09:00:06 -0400
> >>>>
> >>>>Hi Mark,
> >>>>
> >>>>This is hard to do. The WebDAV server interface is implemented as a
> Java
> >>>>Servlet. Servlets provide several URL path mapping patterns to use.
> One 
> >>>>of the most flexible ones is:
> >>>>
> >>>>/some/path/*
> >>>>
> >>>>This will allow you to have /slide/anyFoldername URLs, but not the
> kind 
> >>>>of URLs you want. Note that the Servlet spec does not allow /*/slide 
> >>>>type patterns. There are no other servlet patterns that will do what
> you
> >>>>want unless you want _all_ requests to go to slide.
> >>>>
> >>>>Maybe you could modify your model a bit to work with what servlets can
> >>>>provide (ie. /slide/anyFoldername).
> >>>>
> >>>>Another approach is to setup your namespace like 
> >>>>/foo/anyFoldername/slide and write a servlet that listens on /foo/*
> and 
> >>>>have that servlet dispatch for you.
> >>>>
> >>>>-John
> >>>>
> >>>>Mark Breitner wrote:
> >>>>
> >>>>
> >>>>>Hello,
> >>>>>
> >>>>>
> >>>>>who knows how to change the path the Webdav Construction Kit (WCK)
> >>>>
> >>>>creates
> >>>>
> >>>>
> >>>>>(http://localhost:8080/slide) into another one, like this :
> >>>>>http://localhost:8080/anyFoldername/slide ???????
> >>>>>
> >>>>>Please help me, this is very urgent
> >>>>>
> >>>>>With kind regards
> >>>>>
> >>>>>M.B.
> >>>>>
> >>>>
> >>>>-- 
> >>>>John Rousseau
> >>>>Archivas, Inc.
> >>>>jrousseau@archivas.com
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>>>
> >>>
> >>>
> >>-- 
> >>John Rousseau
> >>Archivas, Inc.
> >>jrousseau@archivas.com
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>
> > 
> > 
> 
> -- 
> John Rousseau
> Archivas, Inc.
> jrousseau@archivas.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by John Rousseau <jr...@archivas.com>.
Hmmmm. I'm stumped on that one. You made both changes?

You might want to play with the scope init-param, but I'm just guessing 
at this point.

Sorry
-John


Mark Breitner wrote:
> Hi,
> 
> thanks for your answer but after doing this I can´t access all the
> subfolders like "files" any more.
> 
> Do you know how to fix this ?
> 
> With kind regards
> 
> Mark breitner
> 
> 
>>--- Ursprüngliche Nachricht ---
>>Von: John Rousseau <jr...@archivas.com>
>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>Betreff: Re: How to change the path slide is accessible???
>>Datum: Thu, 14 Jul 2005 10:03:44 -0400
>>
>>Change the web.xml in your app to map the slide servlet to "/slide/*" 
>>instead of "/". You will also need to change the "default-servlet" 
>>init-param to "false" for the slide servlet.
>>
>>You can then access slide on /slide/* and still have the rest of your 
>>namespace available to your application.
>>
>>-John
>>
>>
>>Mark Breitner wrote:
>>
>>>Well, maybe I should just describe what I wanted to do :
>>>
>>>I want to use the WCK within an other web application. If I just copy
>>
>>the
>>
>>>appropriate entries in the web.xml to the web.xml file within my other
>>
>>web
>>
>>>application my web application isn´t reachable any more.
>>>
>>>
>>>So I have to find a way to make WCK accessible within my web
>>
>>application.
>>
>>>Can anyone help me ?
>>>
>>>With kind regards
>>>
>>>Mark breitner
>>>
>>>
>>>
>>>
>>>>--- Ursprüngliche Nachricht ---
>>>>Von: John Rousseau <jr...@archivas.com>
>>>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>>>Betreff: Re: How to change the path slide is accessible???
>>>>Datum: Thu, 14 Jul 2005 09:00:06 -0400
>>>>
>>>>Hi Mark,
>>>>
>>>>This is hard to do. The WebDAV server interface is implemented as a Java
>>>>Servlet. Servlets provide several URL path mapping patterns to use. One 
>>>>of the most flexible ones is:
>>>>
>>>>/some/path/*
>>>>
>>>>This will allow you to have /slide/anyFoldername URLs, but not the kind 
>>>>of URLs you want. Note that the Servlet spec does not allow /*/slide 
>>>>type patterns. There are no other servlet patterns that will do what you
>>>>want unless you want _all_ requests to go to slide.
>>>>
>>>>Maybe you could modify your model a bit to work with what servlets can 
>>>>provide (ie. /slide/anyFoldername).
>>>>
>>>>Another approach is to setup your namespace like 
>>>>/foo/anyFoldername/slide and write a servlet that listens on /foo/* and 
>>>>have that servlet dispatch for you.
>>>>
>>>>-John
>>>>
>>>>Mark Breitner wrote:
>>>>
>>>>
>>>>>Hello,
>>>>>
>>>>>
>>>>>who knows how to change the path the Webdav Construction Kit (WCK)
>>>>
>>>>creates
>>>>
>>>>
>>>>>(http://localhost:8080/slide) into another one, like this :
>>>>>http://localhost:8080/anyFoldername/slide ???????
>>>>>
>>>>>Please help me, this is very urgent
>>>>>
>>>>>With kind regards
>>>>>
>>>>>M.B.
>>>>>
>>>>
>>>>-- 
>>>>John Rousseau
>>>>Archivas, Inc.
>>>>jrousseau@archivas.com
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>>>
>>>
>>>
>>-- 
>>John Rousseau
>>Archivas, Inc.
>>jrousseau@archivas.com
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
> 
> 

-- 
John Rousseau
Archivas, Inc.
jrousseau@archivas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by Mark Breitner <ma...@gmx.de>.
Hi,

thanks for your answer but after doing this I can´t access all the
subfolders like "files" any more.

Do you know how to fix this ?

With kind regards

Mark breitner

> --- Ursprüngliche Nachricht ---
> Von: John Rousseau <jr...@archivas.com>
> An: Slide Users Mailing List <sl...@jakarta.apache.org>
> Betreff: Re: How to change the path slide is accessible???
> Datum: Thu, 14 Jul 2005 10:03:44 -0400
> 
> Change the web.xml in your app to map the slide servlet to "/slide/*" 
> instead of "/". You will also need to change the "default-servlet" 
> init-param to "false" for the slide servlet.
> 
> You can then access slide on /slide/* and still have the rest of your 
> namespace available to your application.
> 
> -John
> 
> 
> Mark Breitner wrote:
> > Well, maybe I should just describe what I wanted to do :
> > 
> > I want to use the WCK within an other web application. If I just copy
> the
> > appropriate entries in the web.xml to the web.xml file within my other
> web
> > application my web application isn´t reachable any more.
> > 
> > 
> > So I have to find a way to make WCK accessible within my web
> application.
> > 
> > Can anyone help me ?
> > 
> > With kind regards
> > 
> > Mark breitner
> > 
> > 
> > 
> >>--- Ursprüngliche Nachricht ---
> >>Von: John Rousseau <jr...@archivas.com>
> >>An: Slide Users Mailing List <sl...@jakarta.apache.org>
> >>Betreff: Re: How to change the path slide is accessible???
> >>Datum: Thu, 14 Jul 2005 09:00:06 -0400
> >>
> >>Hi Mark,
> >>
> >>This is hard to do. The WebDAV server interface is implemented as a Java
> >>Servlet. Servlets provide several URL path mapping patterns to use. One 
> >>of the most flexible ones is:
> >>
> >>/some/path/*
> >>
> >>This will allow you to have /slide/anyFoldername URLs, but not the kind 
> >>of URLs you want. Note that the Servlet spec does not allow /*/slide 
> >>type patterns. There are no other servlet patterns that will do what you
> >>want unless you want _all_ requests to go to slide.
> >>
> >>Maybe you could modify your model a bit to work with what servlets can 
> >>provide (ie. /slide/anyFoldername).
> >>
> >>Another approach is to setup your namespace like 
> >>/foo/anyFoldername/slide and write a servlet that listens on /foo/* and 
> >>have that servlet dispatch for you.
> >>
> >>-John
> >>
> >>Mark Breitner wrote:
> >>
> >>>Hello,
> >>>
> >>>
> >>>who knows how to change the path the Webdav Construction Kit (WCK)
> >>
> >>creates
> >>
> >>>(http://localhost:8080/slide) into another one, like this :
> >>>http://localhost:8080/anyFoldername/slide ???????
> >>>
> >>>Please help me, this is very urgent
> >>>
> >>>With kind regards
> >>>
> >>>M.B.
> >>>
> >>
> >>-- 
> >>John Rousseau
> >>Archivas, Inc.
> >>jrousseau@archivas.com
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >>
> > 
> > 
> 
> -- 
> John Rousseau
> Archivas, Inc.
> jrousseau@archivas.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by John Rousseau <jr...@archivas.com>.
Change the web.xml in your app to map the slide servlet to "/slide/*" 
instead of "/". You will also need to change the "default-servlet" 
init-param to "false" for the slide servlet.

You can then access slide on /slide/* and still have the rest of your 
namespace available to your application.

-John


Mark Breitner wrote:
> Well, maybe I should just describe what I wanted to do :
> 
> I want to use the WCK within an other web application. If I just copy the
> appropriate entries in the web.xml to the web.xml file within my other web
> application my web application isn´t reachable any more.
> 
> 
> So I have to find a way to make WCK accessible within my web application.
> 
> Can anyone help me ?
> 
> With kind regards
> 
> Mark breitner
> 
> 
> 
>>--- Ursprüngliche Nachricht ---
>>Von: John Rousseau <jr...@archivas.com>
>>An: Slide Users Mailing List <sl...@jakarta.apache.org>
>>Betreff: Re: How to change the path slide is accessible???
>>Datum: Thu, 14 Jul 2005 09:00:06 -0400
>>
>>Hi Mark,
>>
>>This is hard to do. The WebDAV server interface is implemented as a Java 
>>Servlet. Servlets provide several URL path mapping patterns to use. One 
>>of the most flexible ones is:
>>
>>/some/path/*
>>
>>This will allow you to have /slide/anyFoldername URLs, but not the kind 
>>of URLs you want. Note that the Servlet spec does not allow /*/slide 
>>type patterns. There are no other servlet patterns that will do what you 
>>want unless you want _all_ requests to go to slide.
>>
>>Maybe you could modify your model a bit to work with what servlets can 
>>provide (ie. /slide/anyFoldername).
>>
>>Another approach is to setup your namespace like 
>>/foo/anyFoldername/slide and write a servlet that listens on /foo/* and 
>>have that servlet dispatch for you.
>>
>>-John
>>
>>Mark Breitner wrote:
>>
>>>Hello,
>>>
>>>
>>>who knows how to change the path the Webdav Construction Kit (WCK)
>>
>>creates
>>
>>>(http://localhost:8080/slide) into another one, like this :
>>>http://localhost:8080/anyFoldername/slide ???????
>>>
>>>Please help me, this is very urgent
>>>
>>>With kind regards
>>>
>>>M.B.
>>>
>>
>>-- 
>>John Rousseau
>>Archivas, Inc.
>>jrousseau@archivas.com
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>>
> 
> 

-- 
John Rousseau
Archivas, Inc.
jrousseau@archivas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by Mark Breitner <ma...@gmx.de>.
Well, maybe I should just describe what I wanted to do :

I want to use the WCK within an other web application. If I just copy the
appropriate entries in the web.xml to the web.xml file within my other web
application my web application isn´t reachable any more.


So I have to find a way to make WCK accessible within my web application.

Can anyone help me ?

With kind regards

Mark breitner


> --- Ursprüngliche Nachricht ---
> Von: John Rousseau <jr...@archivas.com>
> An: Slide Users Mailing List <sl...@jakarta.apache.org>
> Betreff: Re: How to change the path slide is accessible???
> Datum: Thu, 14 Jul 2005 09:00:06 -0400
> 
> Hi Mark,
> 
> This is hard to do. The WebDAV server interface is implemented as a Java 
> Servlet. Servlets provide several URL path mapping patterns to use. One 
> of the most flexible ones is:
> 
> /some/path/*
> 
> This will allow you to have /slide/anyFoldername URLs, but not the kind 
> of URLs you want. Note that the Servlet spec does not allow /*/slide 
> type patterns. There are no other servlet patterns that will do what you 
> want unless you want _all_ requests to go to slide.
> 
> Maybe you could modify your model a bit to work with what servlets can 
> provide (ie. /slide/anyFoldername).
> 
> Another approach is to setup your namespace like 
> /foo/anyFoldername/slide and write a servlet that listens on /foo/* and 
> have that servlet dispatch for you.
> 
> -John
> 
> Mark Breitner wrote:
> > Hello,
> > 
> > 
> > who knows how to change the path the Webdav Construction Kit (WCK)
> creates
> > (http://localhost:8080/slide) into another one, like this :
> > http://localhost:8080/anyFoldername/slide ???????
> > 
> > Please help me, this is very urgent
> > 
> > With kind regards
> > 
> > M.B.
> > 
> 
> -- 
> John Rousseau
> Archivas, Inc.
> jrousseau@archivas.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: How to change the path slide is accessible???

Posted by John Rousseau <jr...@archivas.com>.
Hi Mark,

This is hard to do. The WebDAV server interface is implemented as a Java 
Servlet. Servlets provide several URL path mapping patterns to use. One 
of the most flexible ones is:

/some/path/*

This will allow you to have /slide/anyFoldername URLs, but not the kind 
of URLs you want. Note that the Servlet spec does not allow /*/slide 
type patterns. There are no other servlet patterns that will do what you 
want unless you want _all_ requests to go to slide.

Maybe you could modify your model a bit to work with what servlets can 
provide (ie. /slide/anyFoldername).

Another approach is to setup your namespace like 
/foo/anyFoldername/slide and write a servlet that listens on /foo/* and 
have that servlet dispatch for you.

-John

Mark Breitner wrote:
> Hello,
> 
> 
> who knows how to change the path the Webdav Construction Kit (WCK) creates
> (http://localhost:8080/slide) into another one, like this :
> http://localhost:8080/anyFoldername/slide ???????
> 
> Please help me, this is very urgent
> 
> With kind regards
> 
> M.B.
> 

-- 
John Rousseau
Archivas, Inc.
jrousseau@archivas.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org