Hi
If I compile my
applet using JDK1.5 then this applet do not get loaded on a system using JRE1.4 however it works fine with systems having JRE 1.5. Isn't JDK 1.5 backward compatible.
Can anyone please help. Below is the tag, I am using tp display applet in my
JSP <div align="center">
<applet
codebase = "."
archive = "WebPOSApplet.jar"
code = "webposprint.DebitMainApplet.class"
name = "Trans Applet"
width = "450"
height = "112"
hspace = "0"
vspace = "0"
align = "middle"
>
<param name = "sourceInfo" value = "DebitTrans.do">
<param name = "redirectInfo" value = "SearchProducts.do">
</applet>
<%/* %>
<OBJECT classid = "clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA"
codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0"
WIDTH = 450 HEIGHT = 112 >
<PARAM NAME = CODE VALUE = webposprint.DebitMainApplet.class>
<PARAM NAME = archive VALUE = WebPOSApplet.jar>
<PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.2">
<param name = "sourceInfo" value = "DebitTrans.do">
<param name = "redirectInfo" value = "SearchProducts.do">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = model VALUE=models/buckminsterfullerine.xyz>
<COMMENT> <EMBED
type = "application/x-java-applet;jpi-version=1.4.2" \
CODE = webposprint.DebitMainApplet.class\
archive = WebPOSApplet.jar\
WIDTH = 373 \
HEIGHT = 167 \
model =models/buckminsterfullerine.xyz \
scriptable = false \
pluginspage = "http://java.sun.com/products/plugin/index.html#download"> <NOEMBED>
alt="Your browser understands the <APPLET>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET>
tag! </NOEMBED> </EMBED> </COMMENT>
</OBJECT>
<% */%>
</div>
Thanks