其他分享
首页 > 其他分享> > 最近学习freemarker

最近学习freemarker

作者:互联网

看到一篇文章说freemarker比thymeleaf

之前用过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最近也想通过网站自学下

标签:freemarker,1.3,spring,学习,thymeleaf,最近,org,shiro
来源: https://www.cnblogs.com/ukzq/p/15580133.html