SpringBoot
Rowe.青衫
热血青年,略懂皮毛。
展开
-
SpringBoot整合shiro之后无法加载静态资源文件问题
SpringBoot整合shiro之后无法加载静态资源文件问题最近学习了一下SpringBoot之后想做了个小Demo进行登录拦截。 SpringBoot的目录结构如下 用SpringMvc拦截器进行拦截的时候package com.myproject.config;import org.springframework.context.annotation.Configurat...原创 2018-08-22 19:35:45 · 4395 阅读 · 0 评论 -
Spring boot里使用thymeleaf中怎么用iframe引入页面
SpringBoot使用thymeleaf:fragment 引用iframe的一些小问题。 页面要实现内容跟着左侧导航进行改变需要用到iframer。 然后发现无法找到我引入的页面检查路径也没发现什么不对。<iframe src="page/main.html" src="/admin/page/main"></iframe>然后用thymeleaf的标签库来...原创 2018-09-17 13:30:04 · 26190 阅读 · 7 评论 -
SpringBoot使用thymeleaf模版引擎构造JavaScript完整的URL
因为很多地方都要用到所以可以截取出来当公共模块&lt;!-- thymeleaf模版引擎进行构造完整的url --&gt;&lt;script th:fragment="thymeleaf_url" xmlns:th="http://www.springframework.org/schema/mvc" type="text/javascript&quo原创 2018-09-17 18:49:39 · 413 阅读 · 0 评论