aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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
 
Don't get me started about those stupid light bulbs.
 
subject: sun.jdbc.odbc.JdbcOdbcDriver