JSP使用 .Driver").newInstance(); (2)建立连接: Connection conn=DriverManager.getConnection(”jdbc:mysql://host:Port: 数据库名”,”用户名”,”密码”);