会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
真理已不在
博客园
首页
新随笔
联系
管理
订阅
2019年6月17日
service()、dopost()、doget()的区别
摘要: 不管是post提交还是get提交,都会在经过service方法处理,然后再交给doPost方法或doGet方法处理。 如果重写了service方法,就不会再交给doPost方法或doGet方法处理了。 dopost()只处理post请求 没有重写service()和doGet()时会产生异常: 同样
阅读全文
posted @ 2019-06-17 22:20 荣耀马
阅读(934)
评论(0)
推荐(0)
编辑
公告