• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applets

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps. What happens when you try it using JDK? Do you get an error message? What does it say?
 
Franky D'Souza
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic