06 2012 档案
摘要:使用dom4j解析XML时,要快速获取某个节点的数据,使用XPath是个不错的方法,dom4j的快速手册里也建议使用这种方式,标题都写的这么阔气:Powerful Navigation with XPath。方法是使用Document的selectNodes(String XPath)方法,代码写法:List l = doc.selectNodes("//COLS/COL1");执行时却抛出以下异常:Exception in thread "main" java.lang.NoClassDefFoundError: org/jaxen/JaxenExce
阅读全文
摘要:SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = '数据库' GROUP BY table_schema;from:http://hi.baidu.com/dongyongzheng/blog/item/dd97680efaa103e1ab6457c5.html
阅读全文
摘要:$("input[name='decisionPlot']:checked").val();
阅读全文
摘要:function objConvertStr(o) { if (o == undefined) { return ""; } var r = []; if (typeof o == "string") return "\"" + o.replace(/([\"\\])/g, "\\$1").replace(/(\n)/g, "\\n").replace(/(\r)/g, "\\r").replace(/(\t)/g, "\\t") +
阅读全文
浙公网安备 33010602011771号