Using both Thymeleaf and JSP

classic Classic list List threaded Threaded
1 message Options
geo
Reply | Threaded
Open this post in threaded view
|

Using both Thymeleaf and JSP

geo
As discussed in this thread http://forum.thymeleaf.org/Chaining-view-resolvers-td3295026.html
its not very convenient to use JSP and Thymeleaf together, as generally no other resolvers in the chain get fired, since the thymeleaf resolved does not return null

I cant find a convenient way to mix JSP with thymeleaf, especially when you want to use and JSP error page for 404 and other errors then it will be that the JSP viewresolver should be last else the 404 gets error can get fired even when no view can be resolved.

Is there a good way to mix thymeleaf and jsp in Spring bootrstrap/MVC without renaming html to jsp files and visa versa?