According to the post how do servlets work instantiation servlets, listeners and filters are instantiated when the server parses the web.xml
file. But listeners and filters are only getting instantiated. Servlets are not getting instantiated.
So are servlets instantiated at parsing web.xml
or when requests come?