File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC / Applets. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC / Applets." Watch "JDBC / Applets." New topic

JDBC / Applets.

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am trying to use JDBC to conect to oracle. I have an application that connects fine to oracle. But the with the same code it doesn't connect when trying to run as applet. I get "ClassNotFound" exception. I use Class.forName( oracle.jdbc.driver.OracleDriver ) to load the class.
Any suggestions?
Thanks in advance.
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1868
Shekar you need to post your queries in the Applets forum. This forum is inappropriate for your question.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention which you agreed to when you registered, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please create a new log in with a new name which meets the requirements.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
I'm moving this topic to JDBC forum.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
It is telling you that the applet can't find the class. Make sure that class is installed on the server in a directory that the applet can access.
I agree. Here's the link:
subject: JDBC / Applets.
It's not a secret anymore!