06 2021 档案

摘要:private String getIpAddress(HttpServletRequest request){ String ip=request.getHeader("x-forwarded-for"); if((ip==null)||(ip.length()==0)||("unknown".e 阅读全文
posted @ 2021-06-10 18:06 小海葵 阅读(121) 评论(0) 推荐(0) 编辑
摘要:chmod -R 777 xxxx 阅读全文
posted @ 2021-06-07 14:33 小海葵 阅读(73) 评论(0) 推荐(0) 编辑
摘要:tar czvf xxxx.tar.gz xxxx 阅读全文
posted @ 2021-06-07 14:30 小海葵 阅读(16) 评论(0) 推荐(0) 编辑
摘要:验证码出不来,报Could not initialize class sun.awt.X11GraphicsEnvironment异常 处理方案如下: catalina.sh文件的JAVA_OPTS参数后面增加 -Djava.awt.headless=true 阅读全文
posted @ 2021-06-07 14:26 小海葵 阅读(133) 评论(0) 推荐(0) 编辑
摘要:Spring-Aop获取session 第一种获取session方式 ServletRequestAttributes attr = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes(); HttpSes 阅读全文
posted @ 2021-06-03 18:07 小海葵 阅读(708) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示