wood burning stoves 2.0*
The moose likes JDBC and the fly likes registering the database driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "registering the database driver" Watch "registering the database driver" New topic

registering the database driver

biswajit ray
Ranch Hand

Joined: Nov 30, 2005
Posts: 30
why can�t the following code do the job of �locate, load, and link�?

org.gjt.mm.mysql.Driver driver = new org.gjt.mm.mysql.Driver();

will it locate , load and link by executing the static block? what is the problem in it?
sathish kumar
Ranch Hand

Joined: Feb 14, 2007
Posts: 47
What are you trying to do?
I agree. Here's the link: http://aspose.com/file-tools
subject: registering the database driver
Similar Threads
How to connect MySQL DB from JSP?
Loading Driver Problem
loading driver in JSP
Weblogic 6.1 and MySql
Tomcat and Mysql Configuration