最近学习freemarker

看到一篇文章说freemarker比thymeleaf
最近学习freemarker

之前用过thymeleaf

<!--thymeleaf依赖-->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>

其实不管好用与否,用过了就那样子.

而后配合shiro,也有thymeleaf-extras-shiro的依赖

<!--shiro&thymeleaf-->
<dependency>
    <groupId>com.github.theborakompanioni</groupId>
    <artifactId>thymeleaf-extras-shiro</artifactId>
    <version>2.0.0</version>
</dependency>

<!-- shiro -->
<dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-spring</artifactId>
    <version>1.3.2</version>
</dependency>

<!-- shiro-web -->
<dependency>
    <groupId>org.apache.shiro</groupId>
    <artifactId>shiro-web</artifactId>
    <version>1.3.2</version>
</dependency>

而freemarker最近也想通过网站自学下

上一篇:岁月的脚步,被时间冲刷——如何修复EM ?


下一篇:关于springboot2整合lettuce启动卡住问题的解决方法