Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets, jsp:plugin tag and Firefox 3.6

 
Marco Tulio Borges
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic