Create a new folder called lib and add the Freemarker library to it. Add this library to the classpath for your project. If you don't know how to achieve that, please see the Eclipse IDE Tutorial for instructions on the required steps. Create a new folder called templates inside the folder of the com.
Freemarker Template FilesSpring boot looks for the The template files under classpath:/templates/. And for the file extension, you should name the files with . ftlh suffix since Spring Boot 2.2. If you plan on changing the location or the file extension, you should use the following configurations.
Freemarker template files I believe.
http://freemarker.org/
FTL stands for FreeMarker Template.
It is very useful when you want to follow the MVC (Model View Controller) pattern.
The idea behind using the MVC pattern for dynamic Web pages is that you separate the designers (HTML authors) from the programmers.
'ftl' stands for freemarker. It combines server side objects and view side (HTML/JQuery) contents into a single viewable template on the client browser.
Some documentation which might help:
http://freemarker.org/docs/
Tutorials:
http://www.vogella.com/tutorials/FreeMarker/article.html
http://viralpatel.net/blogs/freemaker-template-hello-world-tutorial/
http://filext.com/file-extension/FTL points to http://freemarker.sourceforge.net/ , does that help?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With