|
NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems
ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en:
http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com. |
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂtulo en concreto puede realizar una donación directa mediante Paypal:
|
You use the
embedtag to deploy applets that are to be used only with the Mozilla family of browsers.Following is an example of the
embedtag:<embed code="Applet1.class" width="200" height="200" type="application/x-java-applet;version=1.6.0" pluginspage="http://java.sun.com/javase/downloads"/>The
typeattribute can have one of two forms:
type="application/x-java-applet;version=1.6.0"With this form, the highest installed JRE that supports the MIME type
is invoked to run the applet. If a JRE with a version number equal to or greater than the version number specified is installed locally, then that JRE is invoked. Otherwise the user is directed to the URL specified as the value of the pluginspage attribute and prompted to download and install the required JRE.application/x-java-applet;version=1.6.0
type="application/x-java-applet;jpi-version=1.6.0_01With this form, a JRE with the exact version given by the the value of
jpi-version(in this example, 1.6.0_01) is invoked to run the applet. Otherwise the user is directed to the URL specified as the value of the pluginspage attribute and prompted to download and install the required JRE.