Blueherb In solitude, where we are least alone 王佳鑫
摘要: 1.启动容器时,需要指定 和宿主机端口映射 docker run -itd -p 28080:80 -p 2122:22 --privileged=true --name centos-test centos:centos7 /usr/sbin/init 2.查看容器情况 docker ps 0.0 阅读全文
posted @ 2022-06-30 10:59 阿呆学习之路 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Integer 是包装类 ,在使用的时候会拆箱。Integer.valueOf 点击查看代码 public static Integer valueOf(int i) { if (i >= IntegerCache.low && i <= IntegerCache.high) return Inte 阅读全文
posted @ 2022-06-27 16:54 阿呆学习之路 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 点击查看代码 // sheet页角标 int sheetNum = 1; for (int i = 0; i < excelSize; i++) { if (i < (patchListCount / maxSize) + 1) { if (patchListCount > maxSize) { / 阅读全文
posted @ 2022-06-21 11:19 阿呆学习之路 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 现象: 单点登陆的程序,连续点击多个页面就被踢出程序。 过程:发现连续点击多次之后,cookie 的值变成0; 请求头变为 Cookie:sidebarStatus=0;JSESSIONID=a5e0e255-8234-3fdc-ccwd;sidebarStatus=0; 分析: 在解决TRACE 阅读全文
posted @ 2022-06-13 11:02 阿呆学习之路 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 测试方法 curl -i -s -k -X $'TRACE' \ -H $'Host: 10.10.10.10:8443' -H $'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:67.0) Gecko/20100101 Firefox/67. 阅读全文
posted @ 2022-05-23 10:05 阿呆学习之路 阅读(455) 评论(2) 推荐(0) 编辑
摘要: RegionBeanTree beanTree2 = new RegionBeanTree(); beanTree2.setCode("2"); beanTree2.setLable("端口开放异常"); beanTree2.setPid("0"); RegionBeanTree beanTree3 阅读全文
posted @ 2022-02-10 19:34 阿呆学习之路 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 1.首先打包好前台 dist 2.tomcat ../tomcat/conf/server.xml 新增如下配置 <Connector port="61106" protocol="HTTP/1.1" maxThreads="150" scheme="https" secure="true" cli 阅读全文
posted @ 2021-12-28 13:42 阿呆学习之路 阅读(264) 评论(0) 推荐(0) 编辑
摘要: use-default-filters 属性:默认 true ,使用默认的过滤器,会自动扫描带有@Component、@Repository、@Service和@Controller的类 在使用 use-default-filters 属性时要分清楚需要扫描哪些包,是不是需要使用默认的 Filter 阅读全文
posted @ 2021-11-25 14:48 阿呆学习之路 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 原因 es 默认查询全部 ,内存大小限制10000 。改为scroll查询 阅读全文
posted @ 2021-11-18 13:34 阿呆学习之路 阅读(1026) 评论(0) 推荐(0) 编辑
摘要: 原因可能是 路径拼接存在 //http 缺少冒号 ,这样导致 浏览器认为拼接地址 不是http 请求 ,而是一个相对路径。 阅读全文
posted @ 2021-10-08 11:06 阿呆学习之路 阅读(284) 评论(0) 推荐(0) 编辑