Re: launch applet with APPLET or PLUGIN



On Sat, 20 Aug 2005 12:15:18 +0200, cym tronik wrote:

> Thanks Andrew,
> you've put me on the track. Your version of Tomcat is different of
> mine, your _working_ file:
....
>><EMBED type="application/x-java-applet;" width="700" height="600"
....
> fails in my Firefox, but the next one, with the suspicious semicolon
> in <EMBED removed:
...
>><EMBED type="application/x-java-applet" width="700" height="600"
...
> works fine. Now I have something to report to the Tomcat people.

I don't think it is quite that straightforward.
This is the first time I have looked closely at the
output of the <jsp:plugin statement, generally I use
the <APPLET> element.

After poking further into the jsp:plugin element at
the bug database, I realised why the ';' is there
(docs may also have indicated, but..) for a reason.
Look at these bugs, and notice that after the semi-colon
is a 'version=n.n.n'.

<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4823518>
...
type="application/x-java-applet;version=1.4.1_01"

<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4870461>
...
type="application/x-java-applet;version=1.3.1"

Maybe Ray 'hit the nail on the head' for the solution..
Specify a version later than 1.2.2 and the plugin element
will most likely complete that attribute with a sensible value.

OTOH, the absence of ..
type="application/x-java-applet;version=1.2.2"
...does seem like a bug (to me).

--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"As it is I'm climbing up an endless wall. No time at all."
The Police 'No Time This Time'
.