You should place Java class files in a subdirectory of the Web server root directory. Then you can reference the subdirectory in the CODEBASE attribute of the APPLET tag and the Java class file in the CODE attribute of the APPLET tag.
For example, if the Java class file, myclass.class, is in a subdirectory of the Web server root directory called java_classes, the APPLET tag might look like the following: