Hello there! I have a strange problem using the jsp:plugin tag for applets. In Firefox 3.6, the tag was transformed to <embed> and <object>, but Firefox could not find the right plugin to execute the applet. Firefox shows a message stating that I need a plugin for this kind of content, but when I try to download it, it also says that it does not know which plugin (it states that the plugin is needed for the content-type application/x-java-applet). The problem does not occur under IE8. I have Java Plugin installed (jre 6.0 update 20) and applets that use the <applet> tag work just fine.
Has anyone seen this happen before?
The jsp:plugin code:
And the generated code:
.: SCJP 1.4 (95%) / SCWCD 1.4 (91%) / SCBCD (77%) :.
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." - Calvin
Joined: Mar 22, 2005
I generally recommend to use the applet tag directly; it's more reliable than the object or embed tags these days.
You are right, I have been using the applet tag all along, but I thought the jsp:plugin tag was a good option, since it has a fallback option and has the hability to specify the JRE version. Since it isn't working, I'm back on <applet>.