如圖
出現這個錯誤的原因是Servlet中doGet和doPost的問題導致的,要將調用父類方法的super刪除。還有doPost中要調用doGet方法。
HTTP Status 405 – Method Not Allowed HTTP method GET is not supported by this URL
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
aJax請求不走後臺405排查
本地起tomcat服務默認是http的,但是ajax請求的url是https,也就是跨域了。 然後不走後臺,瀏覽器F12顯示405 所以要配置一下tomcat,參考tomcat8.5配置http
做猪呢,最重要的是开森啦
2020-07-08 08:57:55
zabbix安裝報錯提示缺少libmysqlclient.so.18:
beyond丿qq:1559810637
2020-07-07 23:49:29
安裝zabbix出現:軟件包:zabbix-server-mysql-3.0.25-1.el7.x86_64 (zabbix) 需要:libiksemel.so.3()(64bit)
beyond丿qq:1559810637
2020-07-07 23:49:29
使用串口線時smit出現Set TERM to an appropriate terminal type or use another terminal.
chessloveyou
2020-07-07 20:00:13
class Ui MainWindow has no member named actionnew ui actionnew ssetIcon的錯誤解決方案
cpu_code
2020-07-07 08:09:57
java.net.UnknownHostException: localhsot
David宫洪深
2020-07-06 13:14:59
Could not allocate CursorWindow size due to error -12 錯誤解決方法
zhengxiuchen86
2020-07-06 12:05:04
git gc內存錯誤的解決方案
git gc內存錯誤的解決方案參考文章: (1)git gc內存錯誤的解決方案 (2)https://www.cnblogs.com/chucklu/p/4214988.html 備忘一下。
zhengxiuchen86
2020-07-06 12:05:03
取一個int*函數值是報錯。 應使用“{...}”初始化聚合對象
神说哈喽我的
2020-07-05 07:26:17
MFC的dll引用導致的error
神说哈喽我的
2020-07-05 07:26:17
Microsoft JScript 運行時錯誤: Automation 服務器不能創建對象
勿勿
2020-07-04 13:25:44
Hadoop運行過程中錯誤解決
Xlucas
2020-07-04 12:14:51