April 19th, 2002, 11:33 AM
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?
April 20th, 2002, 11:55 PM
there is no need to set classpath for drivers...it will be already set...and the code for loading the driver is
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); check it out