Migrating from JSP to Thymeleaf. One part at a time
I am replacing JSP code in my web pages with thymeleaf. I am using Spring MVC. I want to know that, is there any way that I can do this transformation part by part? So web page will contain one part with JSP code and other part with thymeleaf code. Is it possible?
Nevertheless, I've created this as task for future versions https://github.com/thymeleaf/thymeleaf/issues/40 because I think it would be a nice addition. Follow that issue if you want to be kept up-to-date with this future JSP-Thymeleaf integration module.
Anyway, remember that mixing JSP pages and Thymeleaf pages in the same application is already possible just by defining two View Resolvers (one for JSP, another one for Thymeleaf. See the "Thymeleaf vs JSP" example application at http://www.thymeleaf.org/documentation.html). But this will not allow you to mix JSP and Thymeleaf fragments in the same page... just have JSP complete pages and Thymeleaf complete pages, all in the same application.