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 |
How to define the scope of a bean?
Tell us about spring security.
What are the different types of dependency injections?
What is spring jdbctemplate class and how to use it?
What is difference between @resource and @autowired?
How many containers are there in spring?
What is the use of @bean in spring?
What is a detached entity?
What is ioc and di?
What is spring bin?
What is spring boot actuator? : Spring Boot
Why is spring light weight?