This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp:plugin  with Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:plugin  with Mozilla" Watch "jsp:plugin  with Mozilla" New topic
Author

jsp:plugin with Mozilla

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 169
Respected Sir,
I can load applets in jsp page using <jsp:forward> when using IntennetExplorer. But I can't done this using Mozillafirefox. What is the problem.

Regards Francis
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
It would be useful to see the JSP code that generates the tags. The Applet FAQ has few links related to using jsp lugin and the APPLET, OBJECT and EMBED tags.


Ping & DNS - my free Android networking tools app
francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 169
Jsp code
______________________



<html>
<body>
<table>
<tr>
<td>
<jsp lugin type="applet" code="pak.Applet1.class" codebase="/joby" width="400" height="300">
</jsp lugin>
</td>
</table>
</body>
</html>


Applet
_____________


package pak;
import java.awt.*;
import java.applet.*;

public class Applet1 extends Applet
{
TextArea area;

public void init()
{
try{
area=new TextArea();
area.setText("Joby");
area.setSize(100,100);

add(area);
}
catch(Exception e)
{e.printStackTrace();}
}



}
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
And what HTML does this generate in Firefox, and what happens if you try to run it? Tell The Details.
 
GeeCON Prague 2014
 
subject: jsp:plugin with Mozilla