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 Sung-Gu <jericho at apache.org> on 2002/04/25 00:06:40 UTC

Re: Problem with PUT and DELETE

----- Original Message ----- 
From: "Elodie Tasia" <e....@ever-team.com>
To: "Slide Group" <sl...@jakarta.apache.org>
Sent: Wednesday, April 24, 2002 11:50 PM
Subject: Problem with PUT and DELETE



I noticed that, when I try to PUT on a server some data from an inexisting file, the server creates the asked resource, but empty. (For example : I call putMethod(destination, file) with destination = /files/onefile.htm but file path is false.)

Why did you do that?  --a  
Before using putMethod, you should check whether the file exists.
I guess, probably, after you shutdown and restartup the web-server, the server will work correctly.
That means the server hold the resource still, don't it?

Sung-Gu


Re: Problem with PUT and DELETE

Posted by Sung-Gu <jericho at apache.org>.
Ok.  I think I corrected your problem, just now.
Please, test it and let me know that's ok. ;)

Sung-Gu

----- Original Message ----- 
From: "Elodie Tasia" <e....@ever-team.com>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Thursday, April 25, 2002 10:33 PM
Subject: Re: Problem with PUT and DELETE


> 
> >
> > I noticed that, when I try to PUT on a server some data from an inexisting
> file, the server creates the asked resource, but empty. (For example : I
> call putMethod(destination, file) with destination = /files/onefile.htm but
> file path is false.)
> >
> > Why did you do that?  --a
> > Before using putMethod, you should check whether the file exists.
> > I guess, probably, after you shutdown and restartup the web-server, the
> server will work correctly.
> > That means the server hold the resource still, don't it?
> >
> > Sung-Gu
> >
> 
> Yes, I can check the existence of the file ;o) But it is a real problem, no
> ? In case of such an error (wrong file), you can't undo your error...
> And even after restarting the server... I mean, Slide, I didn't test that
> with other servers.
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 

Re: Problem with PUT and DELETE

Posted by Elodie Tasia <e....@ever-team.com>.
>
> I noticed that, when I try to PUT on a server some data from an inexisting
file, the server creates the asked resource, but empty. (For example : I
call putMethod(destination, file) with destination = /files/onefile.htm but
file path is false.)
>
> Why did you do that?  --a
> Before using putMethod, you should check whether the file exists.
> I guess, probably, after you shutdown and restartup the web-server, the
server will work correctly.
> That means the server hold the resource still, don't it?
>
> Sung-Gu
>

Yes, I can check the existence of the file ;o) But it is a real problem, no
? In case of such an error (wrong file), you can't undo your error...
And even after restarting the server... I mean, Slide, I didn't test that
with other servers.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>