Re: launch applet with APPLET or PLUGIN



On Sat, 13 Aug 2005 17:32:16 +0200, cym tronik wrote:

> In a web page

[1] URL?

>..I use an applet. If I launch the applet in a
> HTML file, .... everything goes well. But if
> I launch it in a JSP file:
>
> <jsp:plugin type="applet"
> code="myapplet.class"
> ...>

Just before I forget. Why the heck do you not simply
use the applet element? Is there anything specific to
the (invalid) nested OBJECT/EMBED element that you require,
that cannot be specified by the applet element?

> the Firefox (1.03 and 1.06) says it needs a plug-in. When promted to
> look for it, it says it cannot be found. The JSP generated by Tomcat
> 5.5.9 from the instruction "jsp:plugin ..." mentions :
>
> <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
> width="600" height="420"
> codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0";>
>
> i.e. the latest Java plug-in.

Err... '1.2.2' I don't see it here..
<http://java.sun.com/j2se/1.4.2/docs/guide/deployment/autodl/autodl-files.html>
>
> The EMBED part of the generated code for IE works fine, which drives
> me mad, I hate IE.

Ain't it irritating? When the (accursed) IE is the only
one that gets it right.

> Any idea of what's wrong ?

Let me start with HTML (the inconsistencies between browser
renderings) applets (generally) Sun's lax attitude to both
HTML and (now) applets.. How much more do you want?

...Had you considered doing this as an application?

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Not a word, could I relate. The story was quite clear.."
Led Zeppelin 'Kashmir'
.



Relevant Pages

  • Re: problem: security using IDEs appletviewer
    ... APPLET tag. ... The HTML above loads both the test1.jar and test2.jar and runs the class ... You have the image in a in a jar that has the name ... appletviewer will load all .jar files listed there. ...
    (comp.lang.java.help)
  • Re: LiveConnect applet crashing after page reload, please help
    ... string inside the applet and returning that string to javascript. ... in Firefox to insert the html string in the proper place. ... > public void actionPerformed{ ...
    (comp.lang.java.programmer)
  • Re: problem: security using IDEs appletviewer
    ... APPLET tag. ... The HTML above loads both the test1.jar and test2.jar and runs the class ... You have the image in a in a jar that has the name ... appletviewer will load all .jar files listed there. ...
    (comp.lang.java.help)
  • help - accidentally creating floating applet
    ... I'm porting jEdit's help system into an applet form. ... I'd like to instead embed the applet inside the HTML ... so I can have a link create a popup window. ... HelpViewer frame = new HelpViewer; ...
    (comp.lang.java.help)
  • Re: How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... By this i get only html tags nothing beyond that.That is not my ... requirement.Will give syntax for getting jsp page on applet. ... only load URLs from the same server as the containing page ...
    (comp.lang.java.advocacy)