• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

applets

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps. What happens when you try it using JDK? Do you get an error message? What does it say?
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic