Issue
What is sequence of servlet-container and dispatcher servlet for http request? Is servlet container front of dispatcher servlet? Some posts explain Dispatcher servlet is in Servlet container. But I know Tomcat is kind of servlet container and dispatcher-servlet is Spring's feature. So it's wired.
Solution
Dispatcher Servlet is just a conventional name for the ordinary Servlet. It's called Dispatcher because it simply Dispatches requests forward to the corresponding handler Servlet objects. It is not Spring feature, rather, Spring uses it a lot for implementing its mechanisms.
Servlet Container - is the Web Container, which simply contains Servlets and manages its lifecycle. One of several Servlet Containers can be found in Apache Tomcat.
Tomcat - is not Kind of, but it has a Servlet Container engine.
Dispatcher Servlet (which is just an ordinary Servlet) lives within Servlet Container.
Answered By - Giorgi Tsiklauri