405是什么意思?
意思如下:
“405”经常作为“Method Not Allowed”的缩写来使用,中文中表示:“不允许的方法”。
英文缩写词:405
英文单词:Method Not Allowed
缩写词分类:Internet
缩写词领域:HTTP Error Codes
例句:
1、The method is not allowed on this folder。
此方法在该文件夹上不允许。

2、Dynamic method or message handler not allowed here。
这里不允许有动态方法或信息处理程序。
3、The calculation of two-story multispan frame with absolute rigid top crossbeams under horizontal load by Kiyoshi Muto's D-value method will usually result in error which is not all allowed in engineering practice。
一般就是访问的路径中的文件的代码有问题.
例如:我要访问的路径为:http://localhost:8080/javaweb-02-maven/hello

web.xml如下: 
找到该路径对应的class文件(看相同servlet-name对应的<servlet- class>),我的为helloServlet文件,如下:

删掉多余的super.doGet(rep,resp)即可.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/97996.html