Accessing a database on load of an applet from the server
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gurunathan_Govindan
Posted On:   Wednesday, April 25, 2001 03:04 AM

I have created a JTree structure using JApplet and I want the nodes to be created on load of the applet by accessing the database which resides on the server. I tried using simple java io but it is trying to access the database on the client machine and thus giving a security error.
Please help me in this.

Re: Accessing a database on load of an applet from the server

Posted By:   John_Zukowski  
Posted On:   Wednesday, April 25, 2001 07:05 PM

As already mentioned in the FAQ, untrusted applets can only communicate with the server from which it came. If the database is on the client machine, you must sign your code and the user must trust this.
About | Sitemap | Contact