List Info

Thread: slide client




slide client
user name
2006-07-19 21:39:41
Hi

after running in several erros when using relative urls I
started to use 
absolute urls to identify the sources.

root = new WebdavResource(webdavRootUrl);
root.getMethod("http://localhost:8080/slide/files/config/projects_co
nfig.xml",targetFile); 


this always worked (at least for me)

SVen

Maël Villat schrieb:
> Hello!
>
> I believe that getMethod needs an absolute path like: 
> /slide/files/filename.txt. You should look at the
server's log, it 
> could help you.
>
> ----- Original Message ----- From: "Julien
Chambert" 
> <julien.chambertgmail.com>
> To: <slide-userjakarta.apache.org>
> Sent: Wednesday, July 19, 2006 3:33 PM
> Subject: slide client
>
>
>> i'm a new bee in use of slide
>>
>> i try to use slide client on a java application and
don't manage to get
>> file.
>>
>> here is my code:
>>     .....
>>     File temp = new File("temp.xml");
>>     root = new WebdavResource(webdavRootUrl);
>>     temp.CreateNewFile();
>>     System.out.println(webdavRootUrl);
>>     Sytem.out.println("read
:"+temp.canRead()+" write: 
>> "+temp.canWrite());
>>     
>>
System.out.println(root.getMethod("config/projects_con
fig.xml",temp));
>>     ....
>>
>> it displays:
>>     http://localhost:8
080/slide/files/
>>     read: true write: true
>>     false
>>
>> I don't understand when I check with konqueror the
file exists.....
>>
>> Can someone explain me what i have missed???
>>
>> thanks for your answer
>>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

slide client
user name
2006-07-20 07:38:08
thanks for your answers


2006/7/19, Sven Pfeiffer <sven.pfeifferinnoface.de>:
>
> Hi
>
> after running in several erros when using relative urls
I started to use
> absolute urls to identify the sources.
>
> root = new WebdavResource(webdavRootUrl);
> root.getMethod("
> http://localhost:8080/slide/files/config/projects_co
nfig.xml",targetFile);
>
>
> this always worked (at least for me)
>
> SVen
>
> Maël Villat schrieb:
> > Hello!
> >
> > I believe that getMethod needs an absolute path
like:
> > /slide/files/filename.txt. You should look at the
server's log, it
> > could help you.
> >
> > ----- Original Message ----- From: "Julien
Chambert"
> > <julien.chambertgmail.com>
> > To: <slide-userjakarta.apache.org>
> > Sent: Wednesday, July 19, 2006 3:33 PM
> > Subject: slide client
> >
> >
> >> i'm a new bee in use of slide
> >>
> >> i try to use slide client on a java
application and don't manage to get
> >> file.
> >>
> >> here is my code:
> >>     .....
> >>     File temp = new
File("temp.xml");
> >>     root = new WebdavResource(webdavRootUrl);
> >>     temp.CreateNewFile();
> >>     System.out.println(webdavRootUrl);
> >>     Sytem.out.println("read
:"+temp.canRead()+" write:
> >> "+temp.canWrite());
> >>
> >>
System.out.println(root.getMethod("config/projects_con
fig.xml",temp));
> >>     ....
> >>
> >> it displays:
> >>     http://localhost:8
080/slide/files/
> >>     read: true write: true
> >>     false
> >>
> >> I don't understand when I check with
konqueror the file exists.....
> >>
> >> Can someone explain me what i have missed???
> >>
> >> thanks for your answer
> >>
> >
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> > For additional commands, e-mail:
slide-user-helpjakarta.apache.org
> >
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>
slide client
user name
2006-07-20 07:38:08
thanks for your answers


2006/7/19, Sven Pfeiffer <sven.pfeifferinnoface.de>:
>
> Hi
>
> after running in several erros when using relative urls
I started to use
> absolute urls to identify the sources.
>
> root = new WebdavResource(webdavRootUrl);
> root.getMethod("
> http://localhost:8080/slide/files/config/projects_co
nfig.xml",targetFile);
>
>
> this always worked (at least for me)
>
> SVen
>
> Maël Villat schrieb:
> > Hello!
> >
> > I believe that getMethod needs an absolute path
like:
> > /slide/files/filename.txt. You should look at the
server's log, it
> > could help you.
> >
> > ----- Original Message ----- From: "Julien
Chambert"
> > <julien.chambertgmail.com>
> > To: <slide-userjakarta.apache.org>
> > Sent: Wednesday, July 19, 2006 3:33 PM
> > Subject: slide client
> >
> >
> >> i'm a new bee in use of slide
> >>
> >> i try to use slide client on a java
application and don't manage to get
> >> file.
> >>
> >> here is my code:
> >>     .....
> >>     File temp = new
File("temp.xml");
> >>     root = new WebdavResource(webdavRootUrl);
> >>     temp.CreateNewFile();
> >>     System.out.println(webdavRootUrl);
> >>     Sytem.out.println("read
:"+temp.canRead()+" write:
> >> "+temp.canWrite());
> >>
> >>
System.out.println(root.getMethod("config/projects_con
fig.xml",temp));
> >>     ....
> >>
> >> it displays:
> >>     http://localhost:8
080/slide/files/
> >>     read: true write: true
> >>     false
> >>
> >> I don't understand when I check with
konqueror the file exists.....
> >>
> >> Can someone explain me what i have missed???
> >>
> >> thanks for your answer
> >>
> >
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> > For additional commands, e-mail:
slide-user-helpjakarta.apache.org
> >
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>
slide client
user name
2006-07-20 07:38:08
thanks for your answers


2006/7/19, Sven Pfeiffer <sven.pfeifferinnoface.de>:
>
> Hi
>
> after running in several erros when using relative urls
I started to use
> absolute urls to identify the sources.
>
> root = new WebdavResource(webdavRootUrl);
> root.getMethod("
> http://localhost:8080/slide/files/config/projects_co
nfig.xml",targetFile);
>
>
> this always worked (at least for me)
>
> SVen
>
> Maël Villat schrieb:
> > Hello!
> >
> > I believe that getMethod needs an absolute path
like:
> > /slide/files/filename.txt. You should look at the
server's log, it
> > could help you.
> >
> > ----- Original Message ----- From: "Julien
Chambert"
> > <julien.chambertgmail.com>
> > To: <slide-userjakarta.apache.org>
> > Sent: Wednesday, July 19, 2006 3:33 PM
> > Subject: slide client
> >
> >
> >> i'm a new bee in use of slide
> >>
> >> i try to use slide client on a java
application and don't manage to get
> >> file.
> >>
> >> here is my code:
> >>     .....
> >>     File temp = new
File("temp.xml");
> >>     root = new WebdavResource(webdavRootUrl);
> >>     temp.CreateNewFile();
> >>     System.out.println(webdavRootUrl);
> >>     Sytem.out.println("read
:"+temp.canRead()+" write:
> >> "+temp.canWrite());
> >>
> >>
System.out.println(root.getMethod("config/projects_con
fig.xml",temp));
> >>     ....
> >>
> >> it displays:
> >>     http://localhost:8
080/slide/files/
> >>     read: true write: true
> >>     false
> >>
> >> I don't understand when I check with
konqueror the file exists.....
> >>
> >> Can someone explain me what i have missed???
> >>
> >> thanks for your answer
> >>
> >
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> > For additional commands, e-mail:
slide-user-helpjakarta.apache.org
> >
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )