Two Laptop Bag*
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: 166
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: 41106
    
  45
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: 166
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: 41106
    
  45
And what HTML does this generate in Firefox, and what happens if you try to run it? Tell The Details.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jsp:plugin with Mozilla
 
Similar Threads
Alternate flows -- sequence diagrams
Part II/III, what did you use to draw the diagrams?
Getting "Lookup Error Name comp/env/mail not found in context "java:"." error
Replace Double Quote and Single Quotes
Head First - MiniMiniMusicCmdLine