会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
范世强的笔记(SEC-fsq)
专注于网络安全技术 http://www.freebuf.com/author/shentouceshi https://gitee.com/fsqsec
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2018年2月3日
通过jdt解析spring mvc中url-类-方法的对应关系
摘要: 依赖 <dependencies> <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>org.eclipse.jdt.core</artifactId> <version>3.13.0</version> </dependency
阅读全文
posted @ 2018-02-03 15:04 范世强
阅读(681)
评论(0)
推荐(0)
2018年1月24日
springcloud zuul
摘要: zuul是springcloud的API网关。 入口也是springmvc的DispatcherServlet。 实际的handler是ZuulController,通过handleRequest方法调用了ZuulServlet的service方法来处理请求。 ZuulServlet就是一个普通的s
阅读全文
posted @ 2018-01-24 16:15 范世强
阅读(332)
评论(0)
推荐(0)
2018年1月5日
spring中实现自己的初始化逻辑
摘要: 实现这两个listener都可以进行自己的初始化逻辑。 InitializingBean.afterPropertiesSet 这个优先调用 ApplicationListener.onApplicationEvent 这个后调用他们分别由 AbstractApplicationContext.re
阅读全文
posted @ 2018-01-05 14:33 范世强
阅读(351)
评论(0)
推荐(0)
2017年12月28日
nginx配置文件解析工具
摘要: 最近花了一些时间自己实现解析nginx配置文件的功能,这里有个工具先记下以后用。 https://github.com/nginxinc/crossplane
阅读全文
posted @ 2017-12-28 17:52 范世强
阅读(1003)
评论(0)
推荐(0)
2017年12月7日
mac 识别压缩文件类型
摘要: file -z b.zip
阅读全文
posted @ 2017-12-07 16:30 范世强
阅读(438)
评论(0)
推荐(0)
2017年11月16日
使用JDT转java代码为AST
摘要: maven依赖 <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>org.eclipse.jdt.core</artifactId> <version>3.13.0</version></dependency>代码: import
阅读全文
posted @ 2017-11-16 16:59 范世强
阅读(2707)
评论(0)
推荐(0)
2017年9月27日
word中插入的代码库设置局部背景色
摘要: https://zhidao.baidu.com/question/1494951482361210539.html
阅读全文
posted @ 2017-09-27 16:25 范世强
阅读(929)
评论(0)
推荐(0)
2017年7月30日
velocity 遍历EventHandler Iterator
摘要: EventHandlerUtil 类的 iterateOverEventHandlers方法 for (Iterator i = handlerIterator; i.hasNext();){ EventHandler eventHandler = (EventHandler) i.next();
阅读全文
posted @ 2017-07-30 11:53 范世强
阅读(326)
评论(0)
推荐(0)
2017年7月28日
jdbc PreparedStatement 防止sql注入的关键代码片段
摘要: mysql-connector-java-5.1.38.jar PreparedStatement 的 setString(int parameterIndex, String x) 方法
阅读全文
posted @ 2017-07-28 17:33 范世强
阅读(417)
评论(0)
推荐(0)
velocity 的 escape实现
摘要: EscapeHtmlReference的escape方法调用以下方法实现: StringEscapeUtils.escapeHtml(param); 再调用 org.apache.commons.lang.Entities.HTML40.escape(writer, string);代码如下: pu
阅读全文
posted @ 2017-07-28 12:21 范世强
阅读(1528)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
公告