Charles Bell
Posts: 519
Nickname: charles
Registered: Feb, 2002
|
|
Re: web browser
|
Posted: May 18, 2002 3:34 PM
|
|
You applet tag needs the codebase attribute set.
<applet codebase="." code="YourAppletName.class" width="300" height="100"></applet>
codebase="." sets the code base to the current working directory. The java virtual machine will look for the class file in the same directory or folder as the .html web page is in. If the applet class file is not in the same directory as the html web page file, then set it appropriately with the correct uri string.
|
|