diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 678af93..2213ed2 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -2,7 +2,7 @@ Spring PetClinic @@ -10,21 +10,21 @@ spring.profiles.active - jpa + jdbc + jdbc + jpa (in the case of plain JPA) + spring-data-jpa (in the case of Spring Data JPA) + --> +- Location of the XML file that defines the root application context. +- Applied by ContextLoaderServlet. +--> contextConfigLocation - classpath:spring/business-config.xml, classpath:spring/tools-config.xml + classpath:spring/dao-config.xml, classpath:spring/tools-config.xml @@ -32,8 +32,8 @@ +- Servlet that dispatches request to registered handlers (Controller implementations). +--> petclinic org.springframework.web.servlet.DispatcherServlet @@ -49,9 +49,33 @@ / - + + + datatablesController + com.github.dandelion.datatables.extras.servlet2.servlet.DatatablesServlet + + + + + datatablesController + /datatablesController/* + + + + + datatablesFilter + com.github.dandelion.datatables.extras.servlet2.filter.DatatablesFilter + + + + + datatablesFilter + /* + + + httpMethodFilter org.springframework.web.filter.HiddenHttpMethodFilter