Java Servlets中的HTTP PUT

时间:2010-11-09 04:32:10

标签: java http

我想使用java sevelets和jsp做一些REST样式的编写。我在servelet中实现了doPUT,但是当我使用HTTP PUT发送Ajax请求时,会出现以下错误。

type Status report

message HTTP method PUT is not supported by this URL

description The specified HTTP method is not allowed for the requested resource (HTTP method PUT is not supported by this URL).

任何解决方案请!!!!

1 个答案:

答案 0 :(得分:0)