aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
I generally recommend to use the applet tag directly; it's more reliable than the object or embed tags these days.


Ping & DNS - updated with new look and Ping home screen widget
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applets, jsp:plugin tag and Firefox 3.6
 
Similar Threads
Applet not loaded in jsp
embedding applets
JSF and dynamic applet param passing
jsp:plugin using applet & mayscript
Calling an Applet from JSP