wood burning stoves 2.0*
The moose likes JDBC and the fly likes Applet to database.....How?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Applet to database.....How??" Watch "Applet to database.....How??" New topic
Author

Applet to database.....How??

anand rk
Greenhorn

Joined: Feb 07, 2001
Posts: 25
Hello
How can i connect Applet to a Database,since i could do it only with an application
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
The applet may or may not be able to connect to the database depending on the constraints placed on the applet by the browser. The actual method is the same as for your application. If you get a security exception then the browser is preventing you from reaching the database. You may want to think about setting up a servlet to act as a proxy for the applet.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
shashank hiwarkar1
Greenhorn

Joined: Feb 11, 2001
Posts: 25
Hi Thomas,
Let us say I am making my applet trusted, then with this applet how can I connect ot the database, can u explain plz?
shashank


shashank
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet to database.....How??