File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:plugin with Mozilla

 
francis varkey
Ranch Hand
Posts: 169
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
francis varkey
Ranch Hand
Posts: 169
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic