0

I'm try to get a java website and java applet up and running together. I've setup an eclipse tomcat project and created a java applet, which runs fine in the AppletViewer. However i'm having trouble launching the applet in the browser.

AppletMain.class is missing for the WebContent folder what is the best way to get it to deploy correctly?

Eclipse project:

Eclipse Project

Applet source file:

enter image description here

index.jsp

enter image description here

Roman C
  • 49,761
  • 33
  • 66
  • 176

1 Answers1

-1

Applet tag has been depreciated with Object tag according to W3C specifications.

<OBJECT 
  classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
  width="200" height="200">
  <PARAM name="code" value="Applet1.class">
</OBJECT>

where

  • the classid attribute identifies which version of Java Plug-in to use. This instructs Internet Explorer to use the latest installed version of Java Plug-in.

    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"

Deminem
  • 672
  • 8
  • 19