Attribute for <APPLET ...>
CODEBASE = "text string"
CODEBASE
indicates the path to the directory of the applet class.
CODEBASE
is used for telling how
to find the class file when it is not in the same directory as the web page.
Do not use
CODE
to indicate the path, use
CODEBASE
.
In this example, the class file is in the directory "applets", which is a different directory than
where the web page is:
<APPLET
CODE="MyApplet.class"
CODEBASE="../applets/"
WIDTH=100 HEIGHT=100>