Results 1 to 4 of 4

Thread: JDBC extensions *resolved*

Threaded View

  1. #1

    Thread Starter
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    JDBC extensions *resolved*

    Hey there!
    I'm trying to access a mysql database via JDBC from a JSP page. To do this I downloaded the mysql JDBC connector. I now have a jar file that I must copy somewhere, but I don't know where. I think by now I have about 8 copies of the file in various directories of my SDK, JRE and Tomcat. But the loading (as shown in the connector readme) still doesn't work.

    Can anyone help me?

    Code:
    Driver d = (Driver)Class.forName("com.mysql.jdbc.Driver").newInstance();
    
    // ClassNotFoundException
    Last edited by CornedBee; Jun 4th, 2003 at 07:17 AM.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width