new learn

作者: yoyo鹿鸣 | 来源:发表于2018-05-16 23:37 被阅读57次

相关环境搭建在:https://www.jianshu.com/p/5d5ff28d7ec0

SpringMVC配合 Thymeleaf模板 完成前后端分离构建。
下面讲一下Thymeleaf的简单实用

根据使用Spring的版本选择对应的依赖,这里我使用了3.0.9RELEASE版本的thymeleaf版本

        <dependency>
            <groupId>org.thymeleaf</groupId>
            <artifactId>thymeleaf</artifactId>
            <version>${thymeleaf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.thymeleaf</groupId>
            <artifactId>thymeleaf-spring4</artifactId>
            <version>${thymeleaf.version}</version>
        </dependency>

未完待续
https://blog.csdn.net/u011054333/article/details/55260754

相关文章

网友评论

      本文标题:new learn

      本文链接:https://www.haomeiwen.com/subject/pahvdftx.html