Attribute for <APPLET ...>
CODEBASE = "text string"

Use CODEBASE to give the path to your applet 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>





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.