189 8069 5689

springboot项目小结thymeleaflayui使用小结-创新互联

  1. 第一是 thymeleaf 的使用

  1. thymelaf 的 循环迭代


3thymeleaf 的 安装 很简单 导入maven 并且在 application.配置文件中进行配置

spring.thymeleaf.mode=LEGACYHTML5
spring.thymeleaf.cache=false
spring.thymeleaf.prefix=/WEB-INF/
spring.thymeleaf.suffix=.html

maven文件



org.springframework.boot
spring-boot-starter-thymeleaf



net.sourceforge.nekohtml
nekohtml

4总结

thymeleaf 是很不错的模板 和jsp freeemaker 比较相似 但还是有不同 是springboot 推荐的模板标签。

不同之处:
https://blog.csdn.net/qq_33314107/article/details/80834894

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前文章:springboot项目小结thymeleaflayui使用小结-创新互联
当前路径:http://cdxtjz.cn/article/phpss.html

其他资讯