HTTP method POST is not supported by this URL解决方案

在学习慕课网的 servlet 教程的过程中,使用post的转跳页面会提示这个错误


后来百度了才知道是重写的 doPost() 方法中的 super() 导致的


!!!

只需要把这个 super.doPost(req,resp) 注释掉或者删掉就好了

posted @   link98  阅读(2671)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示