[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applet specification
I've had similar problems when I wrote an applet which depended on a
later version of the VM than the one the browser was using.
Also, is the codebase="file:///C|/hsees3_0/hsees3_0clt.jar" a typo? Or
is it just a character translation side effect?
Should it be codebase="file:///C:/hsees3_0/hsees3_0clt.jar"
On Wed, 2003-08-20 at 18:24, Minor, Eric wrote:
> I have an applet packaged in a .jar file on my local machine. I am
> using an <embed> tag in a page to specify my applet to load locally.
>
> When I open the page in Netscape 7.1 I get a ClassNotFound exception.
> The applet class is there in my .jar file and it seems the .jar file
>
> Is being loaded by the browser. But I cannot get applet class to
> load. Below is a snipplet of the tag I am using. Any suggestions.
>
> <object
> classid="HSEESWeb/clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
> width=480 height=200 align="baseline">
>
>
> <param NAME "archive" VALUE= "C:\\HSEES3_0\\hsees3_0clt.jar,
> C:\\HSEES3_0\\atsdr3_0clt.jar, C:\\HSEES3_0\\fips3_0clt.jar,
> C:\\HSEES3_0\\sitraka.jar">
>
> <param NAME "codebase" VALUE
> ="file:///C|/hsees3_0/hsees3_0clt.jar">
> <param NAME="code"
> VALUE="gov.cdc.atsdr.hsees3_0.view.HSEESlet.class">
> <param NAME="type"
> VALUE="application/x-java-applet;jpi-version=1.4.1_03">
>
> <COMMENT>
> <embed
> type="application/x-java-applet;jpi-version=1.4.1_03"
> width=480
> height=200 align="baseline"
>
> code=gov.cdc.atsdr.hsees3_0.view.HSEESlet
>
> codebase="file:///C|/hsees3_0/hsees3_0clt.jar"
> archive =
> "C:\\HSEES3_0\\hsees3_0clt.jar, C:\\HSEES3_0\\atsdr3_0clt.jar,
> C:\\HSEES3_0\\fips3_0clt.jar, C:\\HSEES3_0\\sitraka.jar">
>
> /Program Files/SQLLIB/doc/html/index.htm
> <noembed>You need Netscape Navigator
> to execute HSEES</noembed>
> </embed>
> </COMMENT>
> </object>
>
> Eric D. Minor
> System Analyst III
>
>