The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> java applet not working from html
jwzumwalt
post Nov 25 2007, 01:43 AM
Post #1





Group: Members
Posts: 4
Joined: 10-October 07
Member No.: 4,023



I am a school teacher and am trying to get applets to run for my students. I used the following code and it does not work. I can click on the jar file with a browser and it will work. I assume I am doing some small thing wrong!

The files can be viewed at www.test.neatinfo.com/html

<Html><Head><Title>Java Example</Title></Head>
<Body>
The applet is below<br>
<Applet Code="ohm-1d.class"
archive="ohm-1d.jar"
width=600 Height=600>
</Applet>
</Body>
</Html>

I have also trid

<Html><Head><Title>Java Example</Title></Head>
<Body>
The applet is below<br>

<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codetype="application/java" />
<param name="code" value="ohm-1d.class" />
<param name="archive" value="ohm-1d.jar" />
</object>
</Body>
</Html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th November 2020 - 12:01 AM