![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thymeleaf
alex_fung
这个作者很懒,什么都没留下…
展开
-
SpringBoot项目Circular view path报错
就是缺少了依赖,添加以下依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 还...原创 2018-05-02 22:38:02 · 408 阅读 · 0 评论 -
springboot thymeleaf js获取项目路径
传统的jsp页面js获取项目路径的写法: var contextPath = '${pageContext.request.getContextPath()}'; 使用thymeleaf是这样获取的: /*&lt;![CDATA[*/ var contextPath = '[[@{/}]]'; /*]]&gt;*/...原创 2018-05-25 23:34:15 · 4982 阅读 · 0 评论