How can I make a connection from an applet to a server without receiving a SecurityException error
Printable View
How can I make a connection from an applet to a server without receiving a SecurityException error
to avoid the security exception u have to write a policy file. this make successfull execution of applet in appletviewer but not in browser. then for browser we use a plugin for both iexploer and netscape.
Take a look at the PrivilageManager class...
can help you...
vimal
If I understand your question, and you are using IE, you need to change a registry setting: HKLM\Software\Microsoft\Java VM\System Properties\com.ms.applet.enable.serversockets=true