摘要: 解析JSON对象 解析JSON数组 如果是字符串形式的需要使用eval函数。 阅读全文
posted @ 2019-09-02 10:09 _DC 阅读(2439) 评论(0) 推荐(0) 编辑
摘要: 1.SSM框架的简单配置 1.1 引入jar 1.2 web.xml配置文件 1.2.1在工程的classpath下创建两个配置文件 1.2.2web.xml的配置 注意:/ 和 / 的区别 1.3 applicationContext.xml 1.4 springMvc.xml 1.5 mybat 阅读全文
posted @ 2019-09-01 10:50 _DC 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1.引入properties文件 2.自动扫描包 use default filters 使用默认的 Filter 进行包扫描,而默认的 Filter 对标有 @Service,@Controller和@Repository 的注解的类进行扫描,默认值为true,当此值为false时,需要配合 注解 阅读全文
posted @ 2019-08-31 21:47 _DC 阅读(327) 评论(0) 推荐(0) 编辑
摘要: JavaScript中的Array和Map集合对象 1.Array 用于在单个变量中存储多个值 创建 长度 赋值 遍历 常用方法 | 方法 | 说明 | | : : | : : | | clear() | 清空map集合 | | delete('key') | 删除元素 | | get('key') 阅读全文
posted @ 2019-08-29 17:28 _DC 阅读(2762) 评论(0) 推荐(0) 编辑
摘要: function GetQueryString(name) { var reg = new RegExp("(^|&)"+ name +"=([^&] )(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null) 阅读全文
posted @ 2019-08-22 09:40 _DC 阅读(1719) 评论(0) 推荐(0) 编辑
摘要: coturn服务器安装 1下载并安装libevent 2.0 2下载编译安装coturn 输入which turnserver,如果打印出路径,说明安装成功 3 配置coturn 4启动coturn 5ICE测试 https://webrtc.github.io/samples/src/conten 阅读全文
posted @ 2019-08-22 08:47 _DC 阅读(2700) 评论(0) 推荐(0) 编辑
摘要: 1.源码安装 到nodejs官网下载源码https://nodejs.org/en/download/ 解压缩 进入源码目录 编译 安装 2.二进制安装 到nodejs官网下载二进制包https://nodejs.org/en/download/ 解压缩到指定安装目录 配置环境变量 vim .bas 阅读全文
posted @ 2019-08-21 16:26 _DC 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 将tomcat添加至服务,并使其自启动 1. 在/etc/init.d/目录下创建tomcat文件 2.将以下内容粘贴到文件,注意修改JAVA_HOME和CATALANA_HOME(tomcat根目录)的值 3.更改权限 chmod 755 tomcat 4.启动服务 service tomcat 阅读全文
posted @ 2019-08-12 17:42 _DC 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 文章非本人所写,原文地址:https://blog.csdn.net/qq_40081577/article/details/82932480 博主地址:https://blog.csdn.net/qq_40081577 , 读过博主的文章获益匪浅,感谢博主! 主要目的是实现向某个指定的用户发送消息 阅读全文
posted @ 2019-08-12 10:46 _DC 阅读(5929) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,非个人原创, 原文地址 https://webrtc.org.cn/getusermedia common error/ getUserMedia()出现的常见错误 十一月 19, 2017 作者:Pipe(原文链接) 翻译:刘通 原标题:Common getUserMedia() E 阅读全文
posted @ 2019-08-07 09:58 _DC 阅读(6692) 评论(0) 推荐(0) 编辑