1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Rep Power

    Database Driver so ASP can read it

    I am trying to access the database via java using asp..
    basically the java part accessing the database rather than asp
    but when I get the the function that accesses the database i get a Classnotfound exception on the class.forname("jdbc.odbc.jdbcodbcdriver")
    the class works fine as a stand alone.. but when it comes to the ASP part I get that Exception.. Somebody on the forum told me that there might be a classpath problem.. but I am new to this and would like to know how to set the classpath

    How do I set the Classpath so ASP can read the odbc drivers?
  2. #2
  3. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    the master control
    Rep Power
    i am a bit confused...what are you trying to accomplish. it seems that if you want to connect to the database, then you could just use jdbc to access it with your java prog. however, if you are trying to use ASP to access the db then why not just use an odbc connection within the ASP? what are you trying to using both java and asp?

IMN logo majestic logo threadwatch logo seochat tools logo