have a look at the Sun tutorial on applets it may help
http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
Problem I face:
I had a media player program in java , i want to run that program in Mozilla. For i wrote a JSP program and tag a plugin/embed/object for example
1:
<jsp:plugin type="applet" code="Clock2.class"
codebase="applet" jreversion="1.2" width="160" height="150" >
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin>
2:
<object
classid =" clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase ="
http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Versio..."
WIDTH = 120 HEIGHT = 120 >
<param NAME = CODE VALUE = TicTacToe.class >
<param NAME =" type" VALUE ="
application/x-java-applet;version=1.4">
<param NAME =" scriptable" VALUE =" false">
<COMMENT>
<embed
type =" application/x-java-applet;version=1.4" \
CODE = TicTacToe.class \
WIDTH = 120 \
HEIGHT = 120 \
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>
When i run this program i got Red X image displayed where the applet
should be But Applets won't run .
For your clarity below i mentioned the link . I got the same image which is apper in that and i had i gone through the solution mentioned in it but no use .
" http://www.java.com/en/download/help/5000040200.xml "
Please check it once the above link. I had download jmf also.
Kindly give me suggestion for my error.Thank you.
-Raju