上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页
摘要: https://blog.csdn.net/houpeibin2012/article/details/104253226 一、拦截器和过滤器有什么区别呢?1、对拦截器和过滤器的理解:(1)过滤器(Filter):前端访问后台请求或者静态资源文件时,你只希望符合你要求的一些请求可以访问。定义这些要求 阅读全文
posted @ 2020-04-17 14:32 一半人生 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 首先在xml中开启注解支持 <!--开启AOP的注解支持--> <aop:aspectj-autoproxy/> 举例,环绕通知 创建一个切点类,com.spring.service下及其子包所有方法进行匹配 public class AopPointcutClass { @Pointcut("ex 阅读全文
posted @ 2020-04-15 16:16 一半人生 阅读(15463) 评论(0) 推荐(0) 编辑
摘要: 在初次学习使用shiro框架的时候碰到了这个问题,具体报错情况如下: [org.apache.shiro.authc.AbstractAuthenticator] - Authentication failed for token submission [org.apache.shiro.authc 阅读全文
posted @ 2020-04-08 15:33 一半人生 阅读(4301) 评论(0) 推荐(0) 编辑
摘要: 一、安装redis 1、设置redis的仓库地址, 执行命令:yum install epel-release 出现下图即设置成功 2、安装redis 执行命令如下: yum install redis3、启动redisservice redis start 4、设置开机自动启动,执行命令:chkc 阅读全文
posted @ 2020-04-06 13:49 一半人生 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 远程服务器安装mysql数据库 https://www.cnblogs.com/renjidong/p/7047396.html 1.新开的云服务器,需要检测系统是否自带安装mysql # yum list installed | grep mysql 2.如果发现有系统自带mysql,果断这么干 阅读全文
posted @ 2020-04-06 13:20 一半人生 阅读(263) 评论(0) 推荐(0) 编辑
摘要: <!-- 下面俩行代码就是解决异步加载数据导致swiper不轮播的关键 --> observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper ———————————————— 阅读全文
posted @ 2020-04-06 10:52 一半人生 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 经过查找论坛和分析源码,确认了是在ShiroHttpServletResponse里加上的。 因此继承ShiroHttpServletResponse类,覆盖相应方法,再重写 ShiroFilterFactoryBean就可以把添加JSESSIONID部分去掉。 重写ShiroHttpServlet 阅读全文
posted @ 2020-03-28 09:22 一半人生 阅读(559) 评论(0) 推荐(0) 编辑
摘要: $(window).scroll(function () { //下面这句主要是获取网页的总高度,主要是考虑兼容性所以把Ie支持的documentElement也写了,这个方法至少支持IE8 var htmlHeight = $(document).height(); //clientHeight是 阅读全文
posted @ 2020-03-26 12:01 一半人生 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 复选框自定义样式input[type="checkbox"] { position: relative; width: 0.75rem; height: 0.75rem; background-color: #fff; border: 0.05rem solid #CCC !important; - 阅读全文
posted @ 2020-03-24 13:17 一半人生 阅读(191) 评论(0) 推荐(0) 编辑
摘要: // 监听滚动,用于列表页向下加载 function loadmore(callback) { $(window).scroll(function () { var scrollTop = $(this).scrollTop(); //滚动条距离顶部的高度 var scrollHeight = $( 阅读全文
posted @ 2020-03-17 08:56 一半人生 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 39 下一页