This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes sun.jdbc.odbc.JdbcOdbcDriver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sun.jdbc.odbc.JdbcOdbcDriver" Watch "sun.jdbc.odbc.JdbcOdbcDriver" New topic
Author

sun.jdbc.odbc.JdbcOdbcDriver

Vernon Gibson
Ranch Hand

Joined: Dec 01, 2000
Posts: 35
I've successfully created a jsp with the java code embeded in the html. This code was able to find the JdbcOdbcDriver and display the correct result.
I then created a bean to perform most of the databse functions, and when I execute it I get a classNotFound error looking for JdbcOdbcDriver (full path used in code).
JRun was used as the servlet container in both instances, runing on an NT box.
Has anyone got an idea of what is wrong? Perhaps I need an addition to my classpath?
Vernon Gibson
Ranch Hand

Joined: Dec 01, 2000
Posts: 35
Hi folks,
Sorry to waste your bandwidth:
my problem is in specifying sun.odbc.jdbc.... instead of
sun.jdbc.odbc.....
Thanks anyway
VG
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: sun.jdbc.odbc.JdbcOdbcDriver
 
Similar Threads
Reading a Excel file using java programe
how to connect to a database in hibernate
jdbcodbcDriver for Mac PC
why class loaders ?
connection