Jump to content

using java applets from html page


jwzumwalt

Recommended Posts

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.<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>The files can be viewed at www.test.neatinfo.com/html

Link to comment
Share on other sites

Thank you for your help. I tried the following and it did not work!<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>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...