G
Gilbert Ostlethwaite
Hi
I'm supporting a web-site that uses a java applet. When any client
connects using either Microsofts JVM or Sun <= 1.4x in their browser
there is no problem and everything works correctly. However, if the
client is using Sun JVM 1.5.x in IE (I haven't tested other browsers
yet), the applet will not load.
I've discovered that by adding the line
"grant {permission java.net.SocketPermission "xxx.xxx.xx.xx", "connect,
resolve";}; to the runtime java.policy file on the client PC, the
applet will load.
Since I find it hard to believe that I now have to advise all potential
clients that they have to alter the contents of their java.policy
(assuming that any of them will actually understand what I'm on about)
I'm sure that I'm missing something on either the server side or in the
HTML that actually loads the applet.
The question is what?
Regards
I'm supporting a web-site that uses a java applet. When any client
connects using either Microsofts JVM or Sun <= 1.4x in their browser
there is no problem and everything works correctly. However, if the
client is using Sun JVM 1.5.x in IE (I haven't tested other browsers
yet), the applet will not load.
I've discovered that by adding the line
"grant {permission java.net.SocketPermission "xxx.xxx.xx.xx", "connect,
resolve";}; to the runtime java.policy file on the client PC, the
applet will load.
Since I find it hard to believe that I now have to advise all potential
clients that they have to alter the contents of their java.policy
(assuming that any of them will actually understand what I'm on about)
I'm sure that I'm missing something on either the server side or in the
HTML that actually loads the applet.
The question is what?
Regards