The information in this article applies to:
SYMPTOMSCalling the System.exit() method from a distrusted applet causes a security exception. CAUSEAn untrusted applet cannot call System.exit() because it causes the browser to shut down. RESOLUTIONIf your program needs to call System.exit(), you must make the applet trusted. STATUSThis behavior is by design. MORE INFORMATIONThe sample code below generates the following security exception:
Sample Code
REFERENCESFor additional information, please refer to the following Knowledge Base article: For additional information on making your Java Code trusted in Microsoft Internet Explorer, click the article number below to view the article in the Microsoft Knowledge Base: Q193877 HOWTO: Make your Java Code Trusted in Internet ExplorerFor more information on making your applet trusted, please see the Microsoft SDK for Java 2.0x documentation, available at http://www.microsoft.com/java/sdk/. For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words: system exit trusted applet
Keywords : kbIE300 kbIE400 kbSDKJava150 kbSDKJava151 kbSDKJava200 kbSDKJava201 kbSDKJava300 kbVJ100 kbVJ110 kbSDKJava202 |
Last Reviewed: January 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |