////////////////////////////////////////////////////////////
  Class.forName("weblogic.jdbc.pool.Driver").newInstance();
  String driverURL="jdbc:weblogic:pool:Wmp";
  connect=DriverManager.getConnection(driverURL,null);
////////////////////////////////////////////////////////////改成以下试试:
  Class.forName("org.gjt.mm.mysql.Driver");
  String driverURL="jdbc:mysql://localhost:3306/yourDatabaseName";//最后这个是你自己建的数据库名
  connect=DriverManager.getConnection(driverURL);注:
Class.forName("xxxxDriver");----------这里面是加载你所用的数据库的驱动程序
DriverManager.getConnection(URL);-----对应你的数据库的url