This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes ClassNotFound exception when trying to connect to db2 from applet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "ClassNotFound exception when trying to connect to db2 from applet" Watch "ClassNotFound exception when trying to connect to db2 from applet" New topic
Author

ClassNotFound exception when trying to connect to db2 from applet

R Pa
Greenhorn

Joined: Aug 27, 2008
Posts: 12
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

Joined: Oct 08, 2006
Posts: 2458
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.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassNotFound exception when trying to connect to db2 from applet
 
Similar Threads
Applets/JDBC
JDBC applets
UnsatisfiedLinkError: SQLConnect
JDBC / Applets.
AccessControl Exception (Access Denied)