Process HTML file using Thymeleaf in Web based Scopes of Spring and store the processed template as String

后端 未结 5 1477
无人共我
无人共我 2021-01-02 14:21

I am trying to render an HTML file using thymeleaf and keep the resultant HTML content in a String variable in web-based scopes of Spring so that i can use it l

5条回答
  •  死守一世寂寞
    2021-01-02 15:02

    Using Maven, add ognl dependency to your pom.xml file, e.g. (find the latest dependency/version in MVNRepository):

    
        ognl
        ognl
        3.1.12
    
    

提交回复
热议问题