摘要: 不管是post提交还是get提交,都会在经过service方法处理,然后再交给doPost方法或doGet方法处理。 如果重写了service方法,就不会再交给doPost方法或doGet方法处理了。 dopost()只处理post请求 没有重写service()和doGet()时会产生异常: 同样 阅读全文
posted @ 2019-06-17 22:20 荣耀马 阅读(934) 评论(0) 推荐(0) 编辑