The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

doubt on your reply...

Posted by pavan (anumula@jlab.org) on January 09, 2002 at 12:30 PM

///////////////////////////
> Hi
> in the applet tag use the class id
> then it will open
/////////////////////////////////////

that was ur reply.

Can U make it little more clear for me.

I have the same kind of a problem described below:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
java.security.AccessControlException: access denied (java.io.FilePermission copy.gif 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 sun.awt.SunToolkit.getImageFromHash(Unknown Source)

at sun.awt.SunToolkit.getImage(Unknown Source)

at javax.swing.ImageIcon.(Unknown Source)

at javax.swing.ImageIcon.(Unknown Source)

at tArea.(tArea.java:40)

at java.lang.Class.newInstance0(Native Method)

at java.lang.Class.newInstance(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)

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

the above message comes up everytime my applet tries to access any *.gif file. *.gif files are in the same directory as the *.java file .. permmissions are correct.
main thing... iam storing all these on one of our UNIX servers and trying to call from browser.

do U know what the problem is .. if so.please mail me at

anumula@jlab.org

thank you.
pavan kumar.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us