摘要:
<p>符合“<span class="rd"><s:property value="key"/></span>”的搜索结果:</p><table width="100%" cellspacing="0" cellpadding="0"><s:set name="i" value="1"></s:set> <s:iterator id="stock 阅读全文
posted @ 2011-06-25 21:16 季枫 阅读(1643) 评论(0) 推荐(0)
|
摘要:
<p>符合“<span class="rd"><s:property value="key"/></span>”的搜索结果:</p><table width="100%" cellspacing="0" cellpadding="0"><s:set name="i" value="1"></s:set> <s:iterator id="stock 阅读全文
posted @ 2011-06-25 21:16 季枫 阅读(1643) 评论(0) 推荐(0)
摘要:
问题:为bat传入一个文件路径参数,bat主动注册其目录下的某个ocx控件详细见代码:regsvr32OCX.batcallregsvr32/s"%1 %2\bin\VPNDemo.ocx"运行:regsvr32OCX.bat C:\Program Files\goodvpn 阅读全文
posted @ 2011-06-25 18:25 季枫 阅读(6790) 评论(0) 推荐(0)
摘要:
以前写了IE下的功能,于是又写了firefox下的功能,在firefox上花了很多时间,发现了firefox中几处与IE中不同的地方:1.firefox不能对innerText支持,也不知道为什么。firefox支持innerHTML但却不支持innerText,所以上网查了一下,原来它改支持textContent来实现innerText,不过实现得没有那么好,默认把多余的空格也保留了。如果不用textContent,如果字符串里面不包含HTML代码也可以用innerHTML代替2.禁止选取网页内容:在IE中一般用js:obj.onselectstart=function(){return f 阅读全文
posted @ 2011-06-25 18:08 季枫 阅读(305) 评论(0) 推荐(0)
摘要:
修改/etc/ssh/sshd_config文件,找到 ClientAliveInterval 0和ClientAliveCountMax 3并将注释符号("#")去掉,将ClientAliveInterval对应的0改成60,ClientAliveInterval指定了服务器端向客户端请求消息 的时间间隔, 默认是0, 不发送.ClientAliveInterval 60表示每分钟发送一次, 然后客户端响应, 这样就保持长连接了.ClientAliveCountMax, 使用默认值3即可.ClientAliveCountMax表示服务器发出请求后客户端没有响应的次数达到一 阅读全文
posted @ 2011-06-25 12:05 季枫 阅读(2988) 评论(0) 推荐(0) |
||