HTTP放入Java servlet
我想使用JavaSevelets和jsp进行一些REST风格的录制。我已经在servlet中实现了doPUT,但是当我使用httpput发送Ajax请求时,会出现以下错误HTTP放入Java servlet,java,http,Java,Http,我想使用JavaSevelets和jsp进行一些REST风格的录制。我已经在servlet中实现了doPUT,但是当我使用httpput发送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 meth
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).
任何解决方案请 您确定使用的是JSDK 2.0吗
您可能需要显示一小段给出该错误的示例代码,这样人们至少可以阅读并运行它。