如何用jsp连接oracle数据库
如何用jsp连接oracle数据库
日期:2017-10-20 11:52:20 人气:1
<%
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","tiger");
Statement stmt=conn.createStatement();