But this is the applet class file.... (Sprint_Aplicacao_Applet.class)
And in localhost, all works fine...
When you say server, you mean the server or the servlet? The applet can
communicate to other servlet if this servlet is in the same server?
Thanks
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
bogdan sava
Sent: quarta-feira, 19 de Setembro de 2001 11:48
To: [EMAIL PROTECTED]
Subject: Re: Applet Security Exception
Applet can made connections, just to the server from it was downloaded.
Bogdan
Hugo Malheiro wrote:
> Hi! I've been lookin in the mailing lists archives but i didn't see
anything
> that seems to my problem, so i sending a mail.
>
> The problem is, i have an applet communicating with the servlet. in
> localhost it works fine and i have no problem, but when i tried to access
in
> another computer of my local network it gives me the following error.
Can
> you help me?
>
> Thanks
>
> java.security.AccessControlException: access denied
(java.io.FilePermission
> \\Phc\C\leas\myProjects\Sprint2\classes\Sprint_Aplicacao_Applet.class
read)
> at java.security.AccessControlContext.checkPermission(Unknown Source)
> at java.security.AccessController.checkPermission(Unknown Source)
> at java.lang.SecurityManager.checkPermission(Unknown Source)
> at java.lang.SecurityManager.checkRead(Unknown Source)
> at java.io.File.isDirectory(Unknown Source)
> at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
> at sun.net.www.protocol.file.Handler.openConnection(Unknown Source)
> at java.net.URL.openConnection(Unknown Source)
> at sun.applet.AppletClassLoader.getBytes(Unknown Source)
> at sun.applet.AppletClassLoader.access$100(Unknown Source)
> at sun.applet.AppletClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.applet.AppletClassLoader.findClass(Unknown Source)
> at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.applet.AppletClassLoader.loadCode(Unknown Source)
> at sun.applet.AppletPanel.createApplet(Unknown Source)
> at sun.plugin.AppletViewer.createApplet(Unknown Source)
> at sun.applet.AppletPanel.runLoader(Unknown Source)
> at sun.applet.AppletPanel.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
___________________________________________________________________________
> 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
___________________________________________________________________________
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