wood burning stoves 2.0*
The moose likes JDBC and the fly likes connection to database from an applet 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 » Databases » JDBC
Bookmark "connection to database from an applet" Watch "connection to database from an applet" New topic

connection to database from an applet

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
can we get connected to database from an applet using Type 3 & Type 4 drivers ? It seems the Type 1 and Type 2 driver have this limitation. Kindly clarify.

Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
You can connect to a database from an applet. The issue is that it must be from the same server where the applet was loaded from. Browser security will not permit an applet to access any other server unless it has a security certificate and has been approved by the user.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: connection to database from an applet
Similar Threads
connect applet to database?
permissions for using JDBC in applet
URGENT !! JDBC and applets
Accessing data from database and displaying in an Applet