doGet 和doPost 的区别 doGet 和doPost 都是接受用户请求的方法, doGet 处理get 请求,doPost 处理post 请求, doGet 用于地址栏提交,doPost 用于表单提交, 在页面提交数据时,get 的数据大小有限制4k,post 没有限制,get 请求提交的数据会在地址栏显示,post 不显示,所以post 比get 安全