wood burning stoves 2.0*
The moose likes Java in General and the fly likes applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "applets" Watch "applets" New topic
Author

applets

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
I have some problem with applets..i've written the entire code for displaying data from the database with jdbc and using jdbc-odbc driver.this is working fine in j-developer but not on jdk...(command line)...\
can u help me...
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Perhaps. What happens when you try it using JDK? Do you get an error message? What does it say?


"I'm not back." - Bill Harding, Twister
Franky D'Souza
Greenhorn

Joined: Mar 20, 2001
Posts: 5
An applet can only communicate with the host from which it is loaded. Hence it cannot access the System DSN on your machine. I dont know about the J-Developer kit. However if u are using jdk then u will have to modify the java policy file to grant access, then it will work using appletviewer, but not on your browser. to grant access via browser u have to sign the applet or use pure java drivers which can be sent to the client machine via jar files.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applets
 
Similar Threads
JTable linked to a query[jdbc], may used and in Applets
Is only Type 4 driver can be used when working with Applets ??
JDBC in applets
URGENT!! Applets and JDBC
jdbc connectivity in applet