Spring / Spring MVC Interview questions
How to configure DispatcherServlet without web.xml in Spring MVC?
Create a class implementing WebApplicationInitializer interface and override onStartup() method. In the method, we can register annotation based application configuration class, servlet and mappings, listener etc.
More Related questions...