摘要: 1.创建ApplicationContext对象: ApplicationContext context = new FileSystemXmlApplicationContext("D:/workspace/test/resources/applicationContext-resource.x... 阅读全文
posted @ 2015-01-13 17:11 六月瓜 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 以mysql为例!步骤:贾琏欲执事 1:加载数据库驱动 2:获取连接对象(DriverManager) 3:获取语句对象 4:执行语句 5:释放资源(后开的先释放)代码:package cn.nick.utils.jdbc;import java.sql.Connection;import... 阅读全文
posted @ 2015-01-13 17:06 六月瓜 阅读(141) 评论(0) 推荐(0) 编辑
摘要: public class ShellCommand{ public static void execCmd(String cmd, boolean wait) { execCmd(cmd, wait, null); } public static void execCmd(String cmd, ... 阅读全文
posted @ 2015-01-13 17:02 六月瓜 阅读(558) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function (){ var options = { chart: { renderTo: 'container', defaultSeriesType: 'spline', //图表类型 line, spline, area, areaspline, co... 阅读全文
posted @ 2015-01-13 16:58 六月瓜 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 示例:http://www.helloweba.com/demo/highcharts/line.html 阅读全文
posted @ 2015-01-13 16:52 六月瓜 阅读(164) 评论(0) 推荐(0) 编辑