摘要:
1)从使用上来说,oci必须在客户机上安装oracle客户端或才能连接,而thin就不需要,因此从使用上来讲thin还是更加方便,这也是thin比较常见的原因。 2)原理上来看,thin是纯java实现tcp/ip的c/s通讯;而oci方式,客户端通过native java method调用c library访问服务端,而这个c library就是oci(oracle called interfa... 阅读全文
摘要:
下面简单介绍一下jQuery的一些特性和用法:1.精准简单的选择对象(dom):$('#element');// 相当于document.getElementById("element")$('.element');//Class$('p');//html标签$("form > input");//子对象$("div,span,p.myClass");//同时选择多种对象$("tr:odd"... 阅读全文
摘要:
alert(parent.window.location.pathname); /xxxx alert(parent.window.location.search);获得参数?xxx=xxxalert(parent.window.location.href); http://xxzz/如果不是用frame,直接去掉parent就可以 阅读全文
摘要:
Math.floor(num) :返回<=参数的最大整数.Math.ceil(num);返回>=参数的最小整数.Math.round(num);就是四舍五入 阅读全文
摘要:
本文列举了兼容 IE 和 FF 的换行 CSS 推荐样式,详细介绍了word-wrap同word-break的区别。 兼容 IE 和 FF 的换行 CSS 推荐样式 最好的方式是 word-wrap:break-word; overflow:hidden; 而不是 word-wrap:break-word; word-break:break-all; 也不是 word-wrap:break-wor... 阅读全文
摘要:
CVS添加用户的过程 D:\cvs\CVSROOT>set cvsroot=:pserver:administrator@127.0.0.1:/cvs D:\cvs\CVSROOT>cvs login Logging in to :pserver:administrator@127.0.0.1:2401:/cvs CVS Password: D:\cvs\CVSROOT>cvs passwd -... 阅读全文