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
Hi,
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?
Thanks
Vernon.
vikas sahni
Greenhorn

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.
vikas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sun.jdbc.odbc.JdbcOdbcDriver
 
Similar Threads
sun.jdbc.odbc.JdbcOdbcDriver
how can find mysql database address?
jdbc
Not able to add values in a database
WebSphere - MSAccess Connection