File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "sun.jdbc.odbc.JdbcOdbcDriver" Watch "sun.jdbc.odbc.JdbcOdbcDriver" New topic


Vernon Gibson
Ranch Hand

Joined: Dec 01, 2000
Posts: 35
It seems that spelling wasn't my only problem, here's my question again:
I've developed a jsp with the java code embeded in the HTML document. This page has no problem finding class sun.jdbc.odbc.JdbcOdbcDriver.
I then ported the java code to a Bean, and when it executes I get a ClassNotFound exception trying to find sun.jdbc.odbc.JdbcOdbcDriver.
Both modules were run in the same environment: NT, IIS, JRun, MySQL.
Anyone got any ideas?
vikas sahni

Joined: Jan 01, 2001
Posts: 7
hi gibson,
u have imported java.sql.* in both the bean class and the
jsp. if u have not done so this may be the problem. it seema that the problem is originating due to bean only.
I agree. Here's the link:
subject: sun.jdbc.odbc.JdbcOdbcDriver
It's not a secret anymore!