Answer the question
In order to leave comments, you need to log in
Tomcat, Servlets?
Did I understand correctly from the wiki article that a servlet is a java class that is inherited from HttpServlet? In this case, when they say that Tomcat is a container, do they mean that it stores all servlets inside itself and manages their life cycle (Like Spring and its beans) ?
Answer the question
In order to leave comments, you need to log in
That's right, but not necessarily HttpServlet, you can inherit the Servlet interface or the GenericServlet class.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question