摘要: public static ArrayList newjdbc(String url , String sql) { Connection conn=null; Statement st=null; ResultSet rt=null; ArrayList data = new ArrayList(); try { Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/vapor?user=root&pa 阅读全文
posted @ 2014-03-23 21:23 justphp 阅读(215) 评论(0) 推荐(0) 编辑
摘要: eclise快捷键F3跳转到类的实现方法,出现如图所示问题:source notfoundchange atttached source。点击下图红圈,Change Attached Source 出现下图所示,对话框,选择src.zip,然后点击打开,src.zip在java的jdk目录下。Ok了,点击Ok,搞定了,按eclipse快捷键F3,有用了参考:http://jingyan.baidu.com/article/642c9d34d00d8c644a46f79c.html 阅读全文
posted @ 2014-03-23 20:48 justphp 阅读(577) 评论(0) 推荐(0) 编辑