• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

jsp:plugin with Mozilla

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic