File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 41508
    
  53
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: 41508
    
  53
And what HTML does this generate in Firefox, and what happens if you try to run it? Tell The Details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:plugin with Mozilla