I am new to
applets. I am playing with an Applet-Servlet chat program and I am having a similar problem to the ones described in these posts:
Applets loading local classes? Netscape problem with Applet-Servlet Comm. Netscape 4 Security Exception But the difference is that all of my files are local. In IE this works fine, but Netscape is throwing an AppletSecurity error. (Mozilla says it can't find the class files at all.)
This is the format of the error I see in the
Java console when
testing in Netscape 4.7:
General exception: netscape.security.AppletSecurityException: security.class from local disk trying to access url:
http://mylocalhost/servlet/vo.chat.ChatServlet What am I missing? What is the security breach if all of the files are local, including the
servlet it is trying to hit? Does Netscape only allow applets to use files that are in the exact same directory the applet came from (I thought this was limited to the same server, but not the same directory only)?
I have made sure all of the Netscape .jar files are in my CLASSPATH, and that does not seem to make a difference.
Thanks!
--liz
[ July 03, 2003: Message edited by: Elizabeth Lester ]