Freemarker template: call java method and use returned string as html
I have a ftl freemarker template file, I pass some object (that contains the list of needed elements) to it and trying to process html output page. The problem is that I need to implement some complex logic using this…