Hello Mark,
You get this error if your server and client are on the same machine
because Netscape looks in the classpath for the applet before looking
at the codebase URL.
If you are running Windows here a way to get round this:
1. Open a DOS box.
2. Enter
SET CLASSPATH=
3. Enter the fully qualified name of the Netscape EXE to start Netscape.
I've set this up as a batch file that runs minimized with the Netscape
icon on a shortcut to it. Looks just like the real thing!
Hope this helps,
Rob Griffin
[EMAIL PROTECTED]
Quest Software Pty Ltd
303 High St, Ashburton, Vic. 3147 Australia
http://www.quest.com
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
> E. Novak
> Sent: Friday, 24 September 1999 3:54
> To: [EMAIL PROTECTED]
> Subject: Applet-Servlet Communication
>
>
> Can anyone out there help me?
>
> I'm using JDK1.8, JavaWebServer1.1 and Netscape.
>
> I am serving up an applet from an html page delivered by a
> servlet. The applet is located in the public_html directory of
> jws. The codebase is http://localhost/servlet/.
>
> I am attempting communication via http with a server in
> jws/servlet directory - http://localhost/servlet/FooServer.
>
> I get the following error in the applet:
>
> netscape.security.AppletSecurityException: security.class from
> local disk trying to access url: http://localhost/FooServer
>
> This is driving me crazy. Can anyone suggest a solution or point
> me to some sources of info.
>
> Much appreciated.
>
> Mark Novak
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html