b**h 发帖数: 64 | 1 simple socket communication via java applet.
1. write an applet to open socket on port 5000 to write a srting.
2. keytool -genkey to generate keys
3. export key to file *.crt
4. jarsigner jar xxx.crt
5. load the jar file on web server, use | s*******g 发帖数: 59 | 2 i've met the similar problem as you before and i gave up.
Basically i tried to use applet to connect to mysql database.
I succeeded connecting to mysql database on localhost, but
somehow i can't connecting to mysql database on a remote machine.
i have set the policy file to something like policy.all, and
it seems that there are still some restrictions for applet.
If you find solution, please tell me. If not, i suggest you
change your program to some alternate architecture.
One quetion you may as
【在 b**h 的大作中提到】 : simple socket communication via java applet. : 1. write an applet to open socket on port 5000 to write a srting. : 2. keytool -genkey to generate keys : 3. export key to file *.crt : 4. jarsigner jar xxx.crt : 5. load the jar file on web server, use
| F****n 发帖数: 3271 | 3 Before set policy file, you need to set your browser's permission for Applets.
【在 s*******g 的大作中提到】 : i've met the similar problem as you before and i gave up. : Basically i tried to use applet to connect to mysql database. : I succeeded connecting to mysql database on localhost, but : somehow i can't connecting to mysql database on a remote machine. : i have set the policy file to something like policy.all, and : it seems that there are still some restrictions for applet. : If you find solution, please tell me. If not, i suggest you : change your program to some alternate architecture. : One quetion you may as
|
|