开发者

HTTP PUT in Java Servelets

开发者 https://www.devze.com 2023-01-24 16:32 出处:网络
I want to do some REST style cording using java sevelets and jsp. I have implemented doPUT in the servelet but when i send a Ajax request using HTTP PUT, this gives the following error.

I want to do some REST style cording using java sevelets and jsp. I have implemented doPUT in the servelet but when i send a Ajax request using HTTP PUT, this gives the following error.

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).
开发者_Go百科

Any Solutions please!!!!


Are you sure you're using JSDK 2.0?

http://java.sun.com/developer/onlineTraining/Servlets/Fundamentals/servlets.html#JSDK1_0vsJSDK2_0

0

精彩评论

暂无评论...
验证码 换一张
取 消