参考地址: https://www.runoob.com/servlet/servlet-intro.html (每次用类来拦截请求,默认用类的doget或者dopost方法来处理请求) https://blog.csdn.net/jiahao1186/article/details/82026330(servlet中常用接参传参对象HttpServletRequest,HttpServletResponse的使用)