2010-11-09 65 views
1

我想用java sevelets和jsp做一些REST風格的cording。我已經在servelet中實現了doPUT,但是當我使用HTTP PUT發送Ajax請求時,會出現以下錯誤。Java Servelets中的HTTP PUT

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

你可能需要出示小塊的示例代碼,給出了錯誤,使人們可以至少讀它,也許運行它。 – 2010-11-09 04:34:34

回答