servlet中实现servlet接口和继承HttpServlet类的区别
实现servlet接口必须实现接口中所有的方法,而继承HttpServlet类可以只重写类中的一个或多个方法
实现servlet接口
继承HttpServlet
下面是github地址:https://github.com/nicesmile01/nice_servlet.git
实现servlet接口必须实现接口中所有的方法,而继承HttpServlet类可以只重写类中的一个或多个方法
实现servlet接口
继承HttpServlet
下面是github地址:https://github.com/nicesmile01/nice_servlet.git