What Is Abstractcontroller in Spring Mvc

Class AbstractController. Convenient superclass for controller implementations, using the Template Method design pattern. Workflow (and that defined by interface): handleRequest() will be called by the DispatcherServlet.

What is the use of AbstractController in Spring?

Class AbstractController. Convenient superclass for controller implementations, using the Template Method design pattern. Workflow (and that defined by interface): handleRequest() will be called by the DispatcherServlet.

What is Servlet in Spring?

Servlets are used in Spring-MVC. In Spring-MVC when you write annotation like @Controller, indirectly you are using a Servlet called Dispatcher Servlet. Dispatcher Servlet is defined in web. xml file with properties and class name which is mapped to . jsp pages and Controller part.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest