Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
Server Side Coding
Java

Is the &lt;APPLET> tag being phased out? Pages that link to <a href="https://ozoneasylum.com/backlink?for=5167" title="Pages that link to Is the &amp;amp;lt;APPLET&amp;gt; tag being phased out?" rel="nofollow" >Is the &amp;lt;APPLET&gt; tag being phased out?\

The simple answer is yes it is - it will still work in new browsers for a while yet but if you are making code aimed at working in the future then you should start moving away from the <APPLET> tag. The following code will work in most browsers:

code:
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,0,mn"
width="WIDTH"
height="HEIGHT"
align="baseline">
<param name="code" value="FILE NAME">
<param name="codebase" value="PATH TO FILE">
<param name="type" value="application/x-java-applet;jpi-version=1.4">
<comment>
<embed code="FILE NAME"
codebase="PATH TO FILE"
type="application/x-java-applet;jpi-version=1.4"
width="WIDTH"
height="HEIGHT"
align="baseline"
pluginspage="http://java.sun.com/products/plugin/1.4/plugin-install.html">
<noembed>
No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!
</noembed>
</embed>
</comment>
</object>



---------------------------------
Relevant links:

http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.4

http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/using_tags.html

---------------------------------
Relevant FAQs:

Why do I have to use the &lt;OBJECT> and &lt;EMBED> tags?

_________________________
Emperor

(Added by: Emperor on Sat 22-Jun-2002)

(Edited by: Emperor on Sat 22-Jun-2002)

« BackwardsOnwards »

Show Forum Drop Down Menu