XML-Based Configuration
Learn XML-Based Configuration (Spring MVC Configuration, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes XML configuration defines Spring beans and MVC settings in files such as applicationContext.xml and dispatcher-servlet.xml , the original Spring style. web.xml declares DispatcherServlet and the context config location, so the servlet container can start Spring. Key tags : <context:component-scan> , <mvc:annotation-driven/> and a view resolver <bean> .