Why can't I load an applet class from the parent directory?

John Zukowski

If you are using something like "CODE=../ClassName.class", you have to realize that the CODE attribute of the APPLET tag is not meant to specify directory names, only class names. To load the applet class from a different directory, use the CODEBASE attribute:

<APPLET CODE=ClassName CODEBASE=.. ...>
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact