0
我正在使用Spring Boot 1.4和Thymeleaf 3. 使用什麼語法? OGNL還是SpEL? 附錄A列出了不需要配置的Thymeleaf參數。使用OGNL或SpEL或混合物的Thymeleaf 3彈簧靴?
我正在使用Spring Boot 1.4和Thymeleaf 3. 使用什麼語法? OGNL還是SpEL? 附錄A列出了不需要配置的Thymeleaf參數。使用OGNL或SpEL或混合物的Thymeleaf 3彈簧靴?
如果您使用的是彈簧引導起動thymeleaf它自動配置Thymeleaf的與Spring集成,使用SpringTemplateEngine和SpringStandardDialect。
這意味着活動變量表達式語言是SpEL。它還提供其他integration features。鏈接指向2.1版本的文檔,但我認爲它在3.0版本中是一樣的。