This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Applets and the fly likes Applets, jsp:plugin tag and Firefox 3.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Applets
Bookmark "Applets, jsp:plugin tag and Firefox 3.6" Watch "Applets, jsp:plugin tag and Firefox 3.6" New topic

Applets, jsp:plugin tag and Firefox 3.6

Marco Tulio Borges
Ranch Hand

Joined: Sep 14, 2004
Posts: 45
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
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
I generally recommend to use the applet tag directly; it's more reliable than the object or embed tags these days.
Marco Tulio Borges
Ranch Hand

Joined: Sep 14, 2004
Posts: 45
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>.

Thank you!
Have you checked out Aspose?
subject: Applets, jsp:plugin tag and Firefox 3.6
jQuery in Action, 3rd edition