Page 1 of 1

Support for JSP

Posted: Tue Dec 31, 2013 2:29 am
by azadusman
Is there any support for JSP because currently we are using themeleaf html as default. But we have requirement to use JSP's. Can you please let us know if yes can we use both themeleaf html and JSP.

If this is possible please let us know the steps to consider both of these.

Re: Support for JSP

Posted: Wed Jan 01, 2014 11:50 am
by RapidTransit
I dropped Thymeleaf in favor of Jade so yes you can use a different view technology, but it seems like you want to use both? If you wanted to use both this is what I would do:

1. Whatever Controller method required JSP invoke the engine manually
2. Contain the rendered template as a string
3. Add to the viewModel

Re: Support for JSP

Posted: Tue Jan 07, 2014 3:39 pm
by phillipuniverse
I would strongly recommend not attempting to use both. While you can rip out all of the Thymeleaf code, we are not making attempts to ensure compatibility with JSPs. While I cannot think of any at the moment, there might come a time that specific features that we write will ONLY work with Thymeleaf.