What is the role of web.xml in spring mvc and where is it located?
Answer / Ajendra Singh
In Spring MVC, web.xml is used to configure various components such as servlets, listeners, filters, and the dispatcher servlet. It also maps URL patterns to specific controllers. Web.xml is typically found in the WEB-INF directory of a Spring MVC project.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between @pathvariable and @requestparam in spring?
What are microservices in spring?
Name the types of transaction management that are supported by spring?
What are the disadvantages of auto wiring?
What is aspect?
what is default scope in spring?
What are the different types of ioc container?
What is @activeprofiles?
Explain the spring configuration file.
What is compile time weaving?
Can pojo have constructor?
Why dependency injection is needed?