Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18233

Re: Using Object tag instead of Applet tag why?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
From "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-fzq-this>
Subject Re: Using Object tag instead of Applet tag why?
Message-ID <50327C3B.57158.calajapr@time.synchro.net> (permalink)
X-Comment-To Sanny
Newsgroups comp.lang.java.programmer
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 f2510131
X-FTN-REPLY 1:261/38 923096d8
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 63
Date Mon, 20 Aug 2012 18:58:37 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1345489117 69.21.70.65 (Mon, 20 Aug 2012 13:58:37 CDT)
NNTP-Posting-Date Mon, 20 Aug 2012 13:58:37 CDT
Organization tds.net
Xref csiph.com comp.lang.java.programmer:18233

Show key headers only | View raw


  To: Sanny
From: Arne Vajhoj <arne@vajhoej.dk>

On 7/14/2012 5:01 AM, Sanny wrote:
> I read at a few places on net to use "Object" tag instead of "Applet" tag.
>
> Why? What is the disadvantage of using Applet tag?

http://www.w3.org/TR/html401/struct/objects.html#h-13.4

APPLET is deprecated (with all its attributes) in favor of OBJECT.

> I have a game which I publish as below
>
> <applet code="My...Game.class" width="800" height="600"
archive="Fight...game.jar" codebase="http://www.getclub.com/.../enjoygame/">
> Game applet
> </applet>
>
> What will be the Syntax to use when using the Object Tag?

http://www.w3.org/TR/html401/struct/objects.html#h-13.3

More details at:

http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/using_tag
s.html

> Will I be able to pass parameters as-well?

Yes.

> Will Object tag works on all Browser?

All relevant.

> There is one Embed Tag also whats difference between Embed Tag & Object Tag.
Which one is best.

embed tag is new in HTML 5.

As there are still browsers out there not understanding HTML 5 then I will 
suggest using object tag.

> I want some way for the tag to download the required java plugin directly in
browsers not having java.

The object tag can do that.

See previous link or the newer (but still old):

http://docs.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tag
s.html

But have you considered using Java Web Start? That will give you much better 
control!

Arne

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Using Object tag instead of Applet tag why? "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-fzq-this> - 2012-08-20 18:58 +0000

csiph-web