实现servlet的三种方式

实现servlet的三种方式

  01,实现servlet接口

  02,继承GenericServlet

  03,继承HttpServlet  常用的

注;Httpservlet=====extends====>GenericServlet=====implements====>Servlet接口

原文地址:https://www.cnblogs.com/liuyunfei/p/6965212.html