站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2ME 专题HTTP method GET is not supported by this URL

HTTP method GET is not supported by this URL

摘要: HTTP method GET is not supported by this URL


小弟是个刚学习J2ME的菜鸟 照书打了一段代码 要求是通过servlet 连接SQL
部署完servlet以后 检验部署时出现:
HTTP Status 405 - HTTP method GET is not supported by this URL
--------------------------------------------------------------------------------
type Status report
message HTTP method GET is not supported by this URL
description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).
请问各位高手这是什么原因啊? 谢谢
与此同时,在执行程序的时候就会老出现 java.io.IOException。



好象是你的服务器端不接受GET方式吧


是不是URL写的有问题


URL是没有问题的
我估计就是服务器端不接受GET方法 (我的服务器就是本机地址)
有办法修改一下服务器吗?让它支持GET()


是不是你的servlet没写get方法


同上,你只是覆盖了servlet处理post的方法


↑返回目录
前一篇: 我想了解一下,使用手机进行调试前,应该注意什么
后一篇: 基于j2me的手机电子商务系统,请大家进来帮忙指点一下