I have an applet java displaying images from folder ,i cant run this applet using html i have this error :
The error you are getting is because your applet is trying to read a file from a directory in the local system where it is getting downloaded. This is a standard security feature. This of this way, you go to a website which downloads an applet and read a file or executes an .exe in your local system. Naturally this should not be allowed for an applet / javascript or code served from a server.
You need to create a signed applet. Please go through the following link to accomplish your need :