Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFound exception when trying to connect to db2 from applet

 
R Pa
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to connect to db2 databse from applet class. When I run the applet from appletviewer everything works fine but when I run from the browser I get class not found exception.
All I have is an applet class and a html file.
I'm using jdbc type 4 driver.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to place the mentioned class in the appletĀ“s classpath/codebase.

This problem is not related to JDBC at all by the way.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic