Hi !

I have a problem with my applet-servlet communication. I'm using
Apache/JServ for the servlet and appletviewer or Netscape for the applet.
It used to work all the time until I made a lot of changes at a time (bad
idea, don't know whats responsible...) and now the applet throws the
following exception:

netscape.security.AppletSecurityException: security.class from local disk
        trying to access url:..... (correct servletaddress here)
  at netscape.security.AppletSecurity.checkURLConnect(AppletSecurity.java:944)
  at java.lang.SecurityManager.checkURLConnect(SecurityManager.java:1239)
  at netscape.net.URLConnection.connect(URLConnection.java:79)
  at netscape.net.URLConnection.getInputStream(URLConnection.java:198)
  at ...

when running it with Netscape, while it still works fine with
appletviewer. AppletSecurity rings a bell and I wonder whether it is this
"servlet and applet have to be on the same machine when applet is
untrusted"-thing. But they are on the same machine, I even called the
applet with http://localhost/doit.html.

Another thing that might (?) be related: Netscape (shift+reload) and
appletviewer (reload option) don't get the changes in my applet when I
compile after changes - I have to kill and restart the applications until
I see the up to date version.

There's something terribly wrong here and I can't see what it is - I would
really appreciate any good idea, I already spent way too much time on this
shit. Upps, sorry :o)

Thanks a lot

                Sebastian

PS: If this applet-reloading problem is too off-topic please mail to me
directly, don't want to bother anyone.

___________________________________________________________________________
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

Reply via email to