随笔分类 -  html & css

<mvc:resources mapping="/xxx/**" location="/xxx/"/>无效,可能和Controller的URL模式有关
摘要:某项目webapp下有子目录res,其中有img、css、js等存放静态资源的文件夹。 在定义了dispacher-servlet的<url-pattern>/</url-pattern>后, 为访问静态资源,特别在dispacher-servlet.xml定义了<mvc:resource/>标签 阅读全文
posted @ 2019-02-17 20:43 god with us 阅读(7178) 评论(0) 推荐(0)
springboot security
摘要:Authority 权限Credential 证书Grant 授予 Authentication 身份验证 以下,我们将通过四步,逐步实现spring-security的username+password身份验证的登录功能。 一、添加spring-boot-start-security依赖即可实现默 阅读全文
posted @ 2018-06-08 17:57 god with us
关于Bootstrap的入门知识
摘要:问:Bootstrap是什么? 答:开源的前端框架,就是一些事先写好的css、js等。 问:Bootstrap在哪儿下载? 答:官方(https://getbootstrap.com/),中文(http://www.bootcss.com/) 问:Bootstrap怎么用? 答:网页中引入css等, 阅读全文
posted @ 2018-05-09 00:07 god with us