1 : y'a pas de cédille sous le c de merci.
2 : Lis les docs, bordel! D'abord, on ne sait pas exactement ce que tu veux faire, du coup, ça aide pas, mais en plus, tu n'a pas lu la doc qu'on t'a donné : paragraphe 13 :
Code :
- What is the difference between applets loaded over the net and applets loaded via the file system?
- There are two different ways that applets are loaded by a Java system. The way an applet enters the system affects what it is allowed to do.
- If an applet is loaded over the net, then it is loaded by the applet class loader, and is subject to the restrictions enforced by the applet security manager.
- If an applet resides on the client's local disk, and in a directory that is on the client's CLASSPATH, then it is loaded by the file system loader. The most important differences are
- * applets loaded via the file system are allowed to read and write files
- * applets loaded via the file system are allowed to load libraries on the client
- * applets loaded via the file system are allowed to exec processes
- * applets loaded via the file system are allowed to exit the virtual machine
- * applets loaded via the file system are not passed through the byte code verifier
- Java-enabled browsers use the applet class loader to load applets specified with file: URLs. So, the restrictions and protections that accrue from the class loader and its associated security manager are now in effect for applets loaded via file: URLs.
- This means that if you specify the URL like so:
- Location: file:/home/me/public_html/something.html
- and the file something.html contains an applet, the browser loads it using its applet class loader.
|
Ca devrait répondre à ta question sur l'appletviewer.