摘要: 要求:页面能实时显示日志文件中的内容(自动更新)日志文件读取读取一次后记下当前读取的位置,作为下一次读取的起始点,使用RandomAccessFile来实现断点读取 1 public ResultObject runLog(String id, String pos) { 2 Res... 阅读全文
posted @ 2014-07-03 11:26 herLover 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 待完成…… 阅读全文
posted @ 2014-06-17 15:30 herLover 阅读(215) 评论(1) 推荐(0) 编辑
摘要: W3C标准手册中的选择器如下表(共52个):SelectorExampleExample descriptionCSS.class.introSelects all elements with class="intro"1#id#firstnameSelects the element with i... 阅读全文
posted @ 2014-06-17 15:29 herLover 阅读(1990) 评论(0) 推荐(0) 编辑
摘要: 待完成…… 阅读全文
posted @ 2014-06-16 22:14 herLover 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 匿名函数什么是匿名函数?就是没有名字的函数。例:setTimeout(function () { // some code...}, 1000);其中的function就是一个匿名函数(因为它没有名字)如果这么写:setTimeout(function something () { // som... 阅读全文
posted @ 2014-06-16 22:07 herLover 阅读(282) 评论(0) 推荐(0) 编辑