上一页 1 ··· 438 439 440 441 442 443 444 445 446 ··· 507 下一页
摘要: 在SpringBoot中有默认的静态资源文件相关配置,需要通过如下源码跟踪: WebMvcAutoConfiguration >configureResourceChain(method) >ResourceProperties中配置了默认的静态资源路径: 其默认的优先级:META/re 阅读全文
posted @ 2018-01-19 15:05 星朝 阅读(6201) 评论(0) 推荐(0)
摘要: 一、概述 springboot 默认静态资源访问的路径为:/static 或 /public 或 /resources 或 /META INF/resources 这样的地址都必须定义在src/main/resources目录文件中,这样可以达到在项目启动时候可以自动加载为项目静态地址目录到clas 阅读全文
posted @ 2018-01-19 14:52 星朝 阅读(3809) 评论(0) 推荐(0)
摘要: 使用前端后台管理模板库admin lte 使用前端后台管理模板库admin lte 安装 搭建环境 安装 安装admin lte,可以通过以下几种办法安装,下图是GitHub中admin lte的主页: 通过github直接克隆安装 git clone https://github.com/alma 阅读全文
posted @ 2018-01-19 13:37 星朝 阅读(3985) 评论(0) 推荐(0)
摘要: 官方文档link1.AdminLTE的必要配置文件<! Tell the browser to be responsive to screen width > <meta content="width=device width, initial scale=1, maximum s 阅读全文
posted @ 2018-01-19 13:05 星朝 阅读(1468) 评论(0) 推荐(0)
摘要: 一张图看懂开源许可协议,开源许可证GPL、BSD、MIT、Mozilla、Apache和LGPL的区别 .embody{ padding:10px 10px 10px; margin:0 20px; border bottom:solid 1px ededed; } .embody_b{ margi 阅读全文
posted @ 2018-01-19 11:41 星朝 阅读(362) 评论(0) 推荐(0)
摘要: / Shiro 1.2.2内置的FilterChain @see ===================================================================================================================== 阅读全文
posted @ 2018-01-19 10:58 星朝 阅读(274) 评论(0) 推荐(0)
摘要: springrain使用shiro控制权限,配置filterChainDefinitions结合数据库校验权限。 我们在web.xml中配置一个全局过滤器,也就是在springrain配置的是一个spring bean的“shiroFilter“,在这个bean中可以根据访问路径在配置不同的过滤器, 阅读全文
posted @ 2018-01-19 10:57 星朝 阅读(4654) 评论(0) 推荐(0)
摘要: 13.2 Spring Boot启动报错:Whitelabel Error Page <! 文章内容 13.2 Spring Boot启动报错:Whitelabel Error Page 问题描述 Whitelabel Error Page This application has no expli 阅读全文
posted @ 2018-01-19 10:13 星朝 阅读(18537) 评论(0) 推荐(1)
摘要: SpringBoot整合mybatis、shiro、redis实现基于数据库的细粒度动态权限管理系统实例 .embody{ padding:10px 10px 10px; margin:0 20px; border bottom:solid 1px ededed; } .embody_b{ marg 阅读全文
posted @ 2018-01-18 17:18 星朝 阅读(8196) 评论(1) 推荐(0)
摘要: SpringMVC整合Shiro,Shiro是一个强大易用的Java安全框架,提供了认证、授权、加密和会话管理等功能。 第一步:配置web.xml <! 配置Shiro过滤器,先让Shiro过滤系统接收到的请求 > <! 这里filter name必须对应applicationCo 阅读全文
posted @ 2018-01-18 16:54 星朝 阅读(1195) 评论(0) 推荐(0)
上一页 1 ··· 438 439 440 441 442 443 444 445 446 ··· 507 下一页