8

I have a doubt whether the servlets internally uses servlets or not?

Suresh Atta
  • 120,458
  • 37
  • 198
  • 307
BalajiB
  • 326
  • 6
  • 29

1 Answers1

6

Yes it is. Spring-MVC uses DispatcherServlet under the hood.

Central dispatcher for HTTP request handlers/controllers, e.g. for web UI controllers or HTTP-based remote service exporters. Dispatches to registered handlers for processing a web request, providing convenient mapping and exception handling facilities.

This servlet is very flexible: It can be used with just about any workflow, with the installation of the appropriate adapter classes...

Community
  • 1
  • 1
Suresh Atta
  • 120,458
  • 37
  • 198
  • 307