b*****n 发帖数: 5 | 1 Hi,
I have an applet which I want to put on the client side. The main function of
this applet is to query database and draw some graphic navigation interface.
It works fine when I tested with application.However once I changed it to
applet, it has error( Java.security.AccessControl Exception:Access Denied,
Java.net.socket Permission "my db server address" resolve). I know it is
caused by java sand box security problem. I also learned online that the
possible solution is to use signed applet o | e***g 发帖数: 158 | 2
you want a solution with most changes? hold your pants, here it goes...
seriously, applet is allowd to open a socket to where it was from.
so if your database server and web server have same address, it works.
【在 b*****n 的大作中提到】 : Hi, : I have an applet which I want to put on the client side. The main function of : this applet is to query database and draw some graphic navigation interface. : It works fine when I tested with application.However once I changed it to : applet, it has error( Java.security.AccessControl Exception:Access Denied, : Java.net.socket Permission "my db server address" resolve). I know it is : caused by java sand box security problem. I also learned online that the : possible solution is to use signed applet o
| c***r 发帖数: 4631 | 3 and same port either.
of
interface.
【在 e***g 的大作中提到】 : : you want a solution with most changes? hold your pants, here it goes... : seriously, applet is allowd to open a socket to where it was from. : so if your database server and web server have same address, it works.
|
|