service()方法能处理get请求和post请求
dopost()只处理post请求,当发送get请求时会产生异常:
同样doGet()只处理get请求,当发送post请求时会产生异常:
本文共 151 字,大约阅读时间需要 1 分钟。
service()方法能处理get请求和post请求
dopost()只处理post请求,当发送get请求时会产生异常:
同样doGet()只处理get请求,当发送post请求时会产生异常:
转载于:https://www.cnblogs.com/ma360359954/p/11042572.html