Servlet中doGet方法与doPost方法的区别

执行时间:
当form框里面的method为get时,执行doGet方法
当form框里面的method为post时,执行doPost方法
当直接在浏览器地址栏输入servlet地址时,执行doGet方法