0
点赞
收藏
分享

微信扫一扫

servlet报错HTTP method GET is not supported by this URL


报错信息如下

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.

Apache Tomcat/7.0.75

原因是在覆盖doPost或者doGet的时候忘记去掉super.doGet或则super.doPost了,去掉就好了。


举报

相关推荐

0 条评论