Applet - Oracle Database connectivity Problems [message #91392] |
Wed, 07 August 2002 14:24 |
Abhijeet
Messages: 5 Registered: July 2002
|
Junior Member |
|
|
Hi,
Im trying to connect to an Oracle 8i database using an Applet. My web server and database are both on the same host. I cant seem to be able to do that .... keep getting a driver not found error...it compiles fine though...only after I run the html file.
I can connect to the database using the same code when i run it as an application ... but with an applet I seem to get a driver not found error on the java console that comes up when the applet is run..
are there some special settings/drivers that have to be included for applets for database connectivity?
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at OutputApplet.run(OutputApplet.java:47)
at java.lang.Thread.run(Thread.java:536)
This is the error i get on the console and line 47 in my java source file is
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Can anyone suggest something ?
Thanks ..
Abhijeet
|
|
|
|
|
|
|
|
|
|