I was using JSP + JSTL but I\'m boring of c:if, c:choose, ...
So, I want my JSP pages to be rendered with both JSP and Thymeleaf (I plan to remove all JSTL as soon a
Alternatively, two servlets works fine. The key is to keep servlet configuration minimal and include an appConfig.xml for database and other services (this avoids massive duplication of configuration)
Web.xml:
Spring MVC Application
AssessmentAdmin
org.springframework.web.servlet.DispatcherServlet
1
AssessmentAdmin
/xz/*
AssessmentAdminTL
org.springframework.web.servlet.DispatcherServlet
1
AssessmentAdminTL
/xztl/*
........
servlet for jsp:
..........
servlet for thymeleaf
Tried it and it works fine