Servlet中的doPost和doGet方法有什么区别?传递和获取参数上有什么区别?

区别:doPost 用来处理 post 请求,doGet 用来处理 get 请求

参数:传递的参数相同的都是 HttpServletRequest 和 HttpServletResponse


原文链接
 


 

猜你喜欢

转载自www.cnblogs.com/ConstXiong/p/12100258.html