POST未在RFC 2068中定义,并且Servlet API不支持POST

时间:2014-06-10 12:38:28

标签: rfc

运行Eclipse RAP Application并在firefox 29中获取错误:

HTTP ERROR: 501

Problem accessing /rap. Reason:

    Method false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[630,69]}]]}
GET is not defined in RFC 2068 and is not supported by the Servlet API 

如何修复此错误? 感谢。

1 个答案:

答案 0 :(得分:0)

看起来你错误地构建了你的HTTP请求确实false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[630,69]}]]} GET不是有效的HTTP方法