Closed OnlyWick closed 8 months ago
This change is not correct. The "instance of" is important here. Also grammatically, "an instance" would need to change to "a servlet" or "a filter".
What problem do you see here that you are trying to solve?
These methods accept a parameter of Class type, Class <? extends Servlet> servletClass.
Class <? extends Servlet> servletClass
It is usually used like this, ServletContext.addServlet("xxx", XXX.class). Is it not correct?
ServletContext.addServlet("xxx", XXX.class)
This change is not correct. The "instance of" is important here. Also grammatically, "an instance" would need to change to "a servlet" or "a filter".
What problem do you see here that you are trying to solve?