|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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 best wishes... |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Classpath |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|