/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import java.sql.*; public class Connect { { try { Class.forName ("com.mysql.jdbc.Driver").newInstance (); } { } finally { if (conn != null) { try { conn.close (); } } } } }