![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thymeleaf
lstingou
逝者如斯夫,不舍昼夜
展开
-
thymeleaf 基本
thymeleaf循环时要用标签裹住循环体,如:<div th:each="user:${list}">name <h2 th:text="${user.name}"></h2> <h2 th:text="${user.age}"></h2> <h2 th:text原创 2018-09-17 11:59:19 · 246 阅读 · 0 评论 -
Refused to execute script from 'URL' because its MIME type ('texthtml') is not executable, and stric
错误是因为文件的路径不对。如;正确的文件路径是:http://localhost/dev/jQuery/jquery-1.12.1..js页面写成<link href="/dev/bootstrap/css/bootstrap.css" rel="stylesheet"/>项目结构:;路径不写页面控制台会报下面的错误...原创 2018-09-26 14:03:53 · 8756 阅读 · 0 评论 -
IFrame出Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY'
spring security 解决 IFrame出Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY' 在protected void configure(HttpSecurity http)方法中添加and().headers().frameOptions().sameOrigin()...原创 2018-10-19 15:06:42 · 604 阅读 · 0 评论