11 2015 档案
摘要:1.后台对象的参数需要是是list对象 1 /* 2 * copyright : GLOBALROAM Ptd Ltd 3 * VmCreateInfo.java 4 * Author: 5 * zhangpengyangming 6 * D...
阅读全文
摘要:追加:::var a = [];// 创建数组a.push(1); // 添加到最后a.unshift(); // 添加到第一个位置删除:::如果你没有使用第三方框架,有类似的扩展功能可以根据指定值,返回元素的下标的话,只能自己先查找,然后再删除。
阅读全文
摘要:1. 四舍五入结果为12. 不四舍五入结果为0另外这里加上pattern="#"表示一直以数字表示,默认情况下当超过3位数时会出现","分隔数字,如1,111
阅读全文
摘要:如何查看程序占用的端口一、 查看所有进程占用的端口在开始-运行-cmd,输入:netstat –ano可以查看所有进程二、查看占用指定端口的程序当你在用tomcat发布程序时,经常会遇到端口被占用的情况,我们想知道是哪个程序或进程占用了端口,可以用该命令 netstat –ano|findstr “...
阅读全文
摘要:配置文件db.driver=com.mysql.jdbc.Driverdb.url=jdbc\:mysql\://localhost\:3306/mybasedb.user=rootdb.pswd=y@ngmin9#-- 连接池初始化连接数 --dataSource.initialSize=10#-...
阅读全文
摘要:Traditional Ways of Tree TraversalThis page contains examples of some “standard” traversal algorithms (ones that can be found in most textbooks). All ...
阅读全文