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: 18670
posted
0
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
posted
0
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.