You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonathan Rosenberg <jr...@tabbysplace.org> on 2011/04/02 17:28:29 UTC

Enabling DELETE

I have some Ajax code sending a DELETE to Tomcat, but am seeing this response:

 HTTP/1.1 403 Forbidden
 Server: Apache-Coyote/1.1
 Content-Type: text/html;charset=utf-8
 Content-Length: 976
 Date: Sat, 02 Apr 2011 15:22:51 GMT

PUT works, so I thought DELETE would also work.  Does this response
mean that Tomcat is itself denying the DELETE?  If so, how can I
enable?

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Fwd: Enabling DELETE

Posted by Jonathan Rosenberg <sh...@gmail.com>.
[Sorry if this appears twice.]

I have some Ajax code sending a DELETE to Tomcat, but am seeing this response:

 HTTP/1.1 403 Forbidden
 Server: Apache-Coyote/1.1
 Content-Type: text/html;charset=utf-8
 Content-Length: 976
 Date: Sat, 02 Apr 2011 15:22:51 GMT

PUT works, so I thought DELETE would also work.  Does this response
mean that Tomcat is itself denying the DELETE?  If so, how can I
enable?

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Enabling DELETE

Posted by Jonathan Rosenberg <jr...@tabbysplace.org>.
Thanks for the response & sorry for the paucity of detail.  Turns out
the problem was in my Grails app.  I did not configure it correctly to
respond to the DELETE request.

--
Jonathan Rosenberg
Founder & Executive Director
Tabby's Place, a Cat Sanctuary

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Enabling DELETE

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/4/2 Jonathan Rosenberg <jr...@tabbysplace.org>:
> I have some Ajax code sending a DELETE to Tomcat, but am seeing this response:
>
>  HTTP/1.1 403 Forbidden
>  Server: Apache-Coyote/1.1
>  Content-Type: text/html;charset=utf-8
>  Content-Length: 976
>  Date: Sat, 02 Apr 2011 15:22:51 GMT
>
> PUT works, so I thought DELETE would also work.

Too little details. You should tell us more about your web
application, your configuration etc.,  Why do you think that PUT
works? What component of your web application processes those
requests?  What OS, Tomcat version is that? The web.xml of your
application =?

http://www.catb.org/~esr/faqs/smart-questions.html

> Does this response
> mean that Tomcat is itself denying the DELETE?  If so, how can I
> enable?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org