how do i know that mm.Mysql driver has been loaded properly

Discussions

Web tier: servlets, JSP, Web frameworks: how do i know that mm.Mysql driver has been loaded properly

  1. I tried to compile this example
    http://www-cs.engr.ccny.cuny.edu/~chom1556/jdbc/jdbc_example.htm
    It complied fine, but did not execute.
    Could any one please tell me why.

    E:\>javac LoadDriver.java

    E:\>java LoadDriver
    Can't find class LoadDriver

    Thanks,
  2. u need to have the driver on your classpath read the java web site for the guide and the tomcat guide for using it with tomcat