2012年12月24日

jsp连接Mysql

摘要: String url = "jdbc:mysql://localhost:3306/test";String user = "root";String password = "110";Connection conn = null;PreparedStatement pstmt = null;String driverName = "com.mysql.jdbc.Driver";try {Class.forName(driverName).newInstance();conn = DriverManager.get 阅读全文

posted @ 2012-12-24 09:33 Steven Yang 阅读(78) 评论(0) 推荐(0)

导航