HTTP method POST is not supported by this URL解决方案
在学习慕课网的 servlet 教程的过程中,使用post的转跳页面会提示这个错误
后来百度了才知道是重写的 doPost() 方法中的 super() 导致的
!!!
只需要把这个 super.doPost(req,resp) 注释掉或者删掉就好了
在学习慕课网的 servlet 教程的过程中,使用post的转跳页面会提示这个错误
后来百度了才知道是重写的 doPost() 方法中的 super() 导致的
!!!
只需要把这个 super.doPost(req,resp) 注释掉或者删掉就好了