|
Re: set up classpath to find packages
|
Posted: Apr 23, 2002 2:47 PM
|
|
For applet, you have to set the CODEBASE attribute. Now, CODEBASE + "\" + CODE should have the path to the .class file. You don't get such problem if your applet's class file and html file containing the applet tag are placed in the same folder and your applet class in not in a package. This is because by default CODEBASE is used as the folder from where html page is opened. Since you have placed your applet class in a package, you need to set the appropriate CODEBASE to lead IE to the class file. I had got this problem when I was testing an applet on local PC and setting approrpiate CODEBASE was the solution.
Thanks Kishori
|
|