not able to use codebase=file:\\ in netscape 4.x
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, August 26, 2002 11:52 PM

Hi, My applet jar is available on client machine and html is in web server. When I try to access local applet using netscape 4.x I get blank page and in Java console I got follwoing error. But the same thing works in IE and netscape 6.0 # Security Exception: Illegal access from non-'file:' document to 'file:' codebase. # document: http://xxxxxx:18080/pinchangeapplet.html # codebase: file:/c: emp/ netscape.security.AppletSecurityException: security.Illegal access from non-'file:' document to 'file:' codebase. # document: http://xxxxxxx:18080/pinchangeapplet.html # codebase: file:/c: emp/ at java.lang.Throwable. (Compiled Code) at java.lang.Exceptio   More>>

Hi,


My applet jar is available on client machine and html is in web server. When I try to access local applet using netscape 4.x I get blank page and in Java console I got follwoing error. But the same thing works in IE and netscape 6.0




# Security Exception: Illegal access from non-'file:' document to 'file:' codebase.
# document: http://xxxxxx:18080/pinchangeapplet.html
# codebase: file:/c: emp/

netscape.security.AppletSecurityException: security.Illegal access from non-'file:' document to 'file:' codebase.
# document: http://xxxxxxx:18080/pinchangeapplet.html
# codebase: file:/c: emp/

at java.lang.Throwable. (Compiled Code)

at java.lang.Exception. (Compiled Code)

at java.lang.RuntimeException. (Compiled Code)

* at java.lang.SecurityException. (Compiled Code)

at netscape.security.AppletSecurityException. (Compiled Code)

at netscape.applet.MozillaAppletContext.initApplet(Compiled Code)

at netscape.applet.MozillaAppletContext.initApplet(Compiled Code)

# Security Exception: Illegal access from non-'file:' document to 'file:' codebase.
# document: http://xxxxxx:18080/pinchangeapplet.html
# codebase: file:/c: emp/

netscape.security.AppletSecurityException: security.Illegal access from non-'file:' document to 'file:' codebase.
# document: http://xxxxxx:18080/pinchangeapplet.html
# codebase: file:/c: emp/

at java.lang.Throwable. (Compiled Code)

at java.lang.Exception. (Compiled Code)

at java.lang.RuntimeException. (Compiled Code)

* at java.lang.SecurityException. (Compiled Code)

at netscape.security.AppletSecurityException. (Compiled Code)

at netscape.applet.MozillaAppletContext.initApplet(Compiled Code)

at netscape.applet.MozillaAppletContext.initApplet(Compiled Code)





My html file contains the following






" archive = "softcert-signed.jar" width = "600" height = "600">







   <<Less
About | Sitemap | Contact