会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lianhuaren
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
50
下一页
2020年9月20日
第48月第20天 spring HibernateDaoSupport 注解
摘要: 1.spring HibernateDaoSupport 注解 发现SqlSessionDaoSupport和HibernateDaoSupport是不一样的,前者有这样的一个方法 @Autowired(required=false) private void setSqlSessionFacoty
阅读全文
posted @ 2020-09-20 19:51 lianhuaren
阅读(152)
评论(0)
推荐(0)
2020年9月19日
第48月第19天 struts2 spring整合 html utf-8
摘要: 1. 第七步,把UserAction交给Spring进行配置,即在Spring配置文件中添加如下配置: <!-- 配置action对象 --> <bean id="userAction" class="cn.itcast.action.UserAction" scope="prototype"></
阅读全文
posted @ 2020-09-19 20:01 lianhuaren
阅读(149)
评论(0)
推荐(0)
2020年9月18日
第48月第18天 spring整合springmvc
摘要: 1. web.xml <!--*****************************Spring整合SpringMvc配置 start*****************************--> <!--配置Spring的监听器,默认只加载WEB-INF目录下的applicationCont
阅读全文
posted @ 2020-09-18 16:31 lianhuaren
阅读(152)
评论(0)
推荐(0)
2020年9月16日
第48月第16天 idea maven web
摘要: 1.pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2020-09-16 16:53 lianhuaren
阅读(148)
评论(0)
推荐(0)
2020年8月31日
第47月第31天 markdown画图 typora
摘要: 1. ```mermaidsequenceDiagram participant John participant Alice John->>+Alice: Hello Alice-->>-John: Great``` https://www.typora.io/ https://www.bilib
阅读全文
posted @ 2020-08-31 08:38 lianhuaren
阅读(106)
评论(0)
推荐(0)
2020年8月30日
第47月第30天 webrtc nodejs视频
摘要: 1.socketio https://www.jianshu.com/p/52ad47deebea 2.webrtc https://www.jianshu.com/p/57fd3b5d2f80 https://github.com/developerajendra/web-rtc-practice
阅读全文
posted @ 2020-08-30 10:47 lianhuaren
阅读(234)
评论(0)
推荐(0)
2020年8月28日
第47月第28天 trtc
摘要: 1. https://github.com/TencentCloud-RTC/2020-Hackathon https://zhuanlan.zhihu.com/p/150248011
阅读全文
posted @ 2020-08-28 15:31 lianhuaren
阅读(110)
评论(0)
推荐(0)
2020年8月25日
第47月第25天 Executing test client: couldn't execute "src/redis-benchmark": no such file or directory.
摘要: 1. 一. mac下redis的安装 1. 官网http://redis.io/ 下载最新的稳定版本,这里是5.0.9 2. sudo mv 到 /usr/local/ 3. sudo tar -zxf redis-5.0.9.tar 解压文件 4. 进入解压后的目录 cd redis-5.0.9
阅读全文
posted @ 2020-08-25 09:29 lianhuaren
阅读(1292)
评论(0)
推荐(0)
2020年8月24日
第47月第24天 redis分布式锁
摘要: 1. 抢购活动开始的一瞬间,大量的用户校验请求打到了用户服务。导致用户服务网关出现了短暂的响应延迟,有些请求的响应时长超过了10s,但由于HTTP请求的响应超时我们设置的是30s,这就导致接口一直阻塞在用户校验那里,10s后,分布式锁已经失效了,此时有新的请求进来是可以拿到锁的,也就是说锁被覆盖了。
阅读全文
posted @ 2020-08-24 12:32 lianhuaren
阅读(116)
评论(0)
推荐(0)
2020年8月21日
第47月第21天 iOS 无痕埋点解决方案
摘要: 1. 生成 Target-Action 埋点的唯一 ID Target-Action 是手势和 UIControl 的回调,一般使用如下代码 -[UIControl addTarget:action:events:] -[UIGestureRecognizer initWithTarget:acti
阅读全文
posted @ 2020-08-21 17:43 lianhuaren
阅读(309)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
50
下一页
公告