Re: applet in tag

Tue, 22 May 2001 07:25:53 -0700

Hi

Here is a link that you should visit for a good amount of information on Applet 
support on web browsers.

"http://www.javasoft.com/products/plugin/1.3/docs/tags.html";

Also go to "http://www.javasoft.com/products/plugin/"; for more information on the Java 
Plug in

And finally, do through the docs, and other info available at 
"http://developer.java.sun.com/developer/infodocs/";

Sriram



5/22/01 8:52:27 PM, Wai Mun <[EMAIL PROTECTED]> wrote:

>and how to specify the classfile and also the codebase files?
>
>thnx.
>----- Original Message -----
>From: "Pierre-Yves Saumont" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, May 21, 2001 15:58
>Subject: Re: applet in <object> tag
>
>
>> classid="clsid:8AD9C840-044E-11D1-B3E9-008005F499D93"
>>
>> Pierre-Yves
>>
>> -----Message d'origine-----
>> De : A mailing list for discussion about Sun Microsystem's Java Servlet
>> API Technology. [mailto:[EMAIL PROTECTED]]De la part de Wai
>> Mun
>> Envoy� : dimanche 20 mai 2001 02:35
>> � : [EMAIL PROTECTED]
>> Objet : applet in <object> tag
>>
>>
>> wat abt for applets? wats the classid attribute for <object> tag to
>include
>> applet?
>> ----- Original Message -----
>> From: "Pierre-Yves Saumont" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Sunday, May 20, 2001 04:19
>> Subject: Re: Question from Pierre-Yves
>>
>>
>> > Hi,
>> >
>> > There are basically four ways to pass parameters to a flash client,
>three
>> of
>> > them being well adapted to servlets. (The fourth one is through
>sockets.)
>> >
>> >         - Putting parameter on the url of the flash application in the
>> object (IE)
>> > or embed (N) tag of the enclosing html code.
>> >
>> >         - loading variables in urlencoded format from the flash
>> application through
>> > the loadVariables action.
>> >
>> >         - loading XML data through the load or sendAndLoad methods of
>the
>> XML
>> > object.
>> >
>> > The first is the simplest. You just add the parameters to the url like
>> this
>> > :
>> >
>> > <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
>> >
>> >
>>
>codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
>> > b#version=5,0,0,0"
>> >  WIDTH=550 HEIGHT=400>
>> >  <PARAM NAME=movie VALUE="MyFlashApp.swf?param1=value1&param2=value2">
>> > <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF>
><EMBED
>> > src="MyFlashApp.swf?param1=value1&param2=value2" quality=high
>> > bgcolor=#FFFFFF  WIDTH=550 HEIGHT=400
>TYPE="application/x-shockwave-flash"
>> >
>>
>PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
>> > Version=ShockwaveFlash"></EMBED>
>> > </OBJECT>
>> >
>> > All parameters are automatically made available in the Flash application
>> as
>> > global variables.
>> > Beware that you have two put the parameters twice : once for the
><object>
>> > tag (IE) and once for the <embed> tag (N).
>> >
>> > Loading variables through the loadVariable action is also very simple :
>> >
>> >         loadVariables(url, target, method)
>> >
>> > url is a string representing the url of the servlet you are calling. It
>> may
>> > include parameters in urlencoded form.
>> >
>> > target is the name of a Flash level or a Flash clip that will be
>notified
>> > when the response will be received. Notification is made through
>> > onClipEvent(data). As a consequence, you can't load data if you don't
>> define
>> > at least one clip. (The application itself can't be notified).
>> >
>> > method is either GET or POST and is to be used only if you want to send
>> data
>> > to the servlet. With GET, the parameters you put in the URL are sent.
>With
>> > POST, all global variables are sent.
>> >
>> > Note that with some versions of Flash, you always get the getPost method
>> of
>> > the servlet called, even if you ask for GET.
>> >
>> > On the servlet side, you just send parameters as name=value pairs,
>> separated
>> > with &, after having set the content type to
>> > "application-x/www-urlformencoded". Of course, the data has to be
>> > urlencoded, but Flash is very loosy regarding the format. For example,
>if
>> > you include a newline in the middle of a parameter value (without
>encoding
>> > it), Flash will include it in the data.
>> >
>> > Sending XML is a bit more complicated. So, I will stop here. Tell me if
>> you
>> > really are interested in sending XML data to Flahs clients.
>> >
>> > Pierre-Yves
>> >
>> >
>> > -----Message d'origine-----
>> > De : A mailing list for discussion about Sun Microsystem's Java Servlet
>> > API Technology. [mailto:[EMAIL PROTECTED]]De la part de
>> > Hamid Mukhtar
>> > Envoy� : samedi 19 mai 2001 06:04
>> > � : [EMAIL PROTECTED]
>> > Objet : Question from Pierre-Yves
>> >
>> >
>> > Hello
>> >    I would like to ask you:
>> >         How do we pass parameters to flash and how to recieve that
>inside
>> > flash.
>> >         Thanks
>> > Hamid
>> >
>> >
>>
>___________________________________________________________________________
>> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> body
>> > of the message "signoff SERVLET-INTEREST".
>> >
>> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> > Resources: http://java.sun.com/products/servlet/external-resources.html
>> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>> >
>> >
>>
>___________________________________________________________________________
>> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> body
>> > of the message "signoff SERVLET-INTEREST".
>> >
>> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> > Resources: http://java.sun.com/products/servlet/external-resources.html
>> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>>
>___________________________________________________________________________
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> Resources: http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>>
>___________________________________________________________________________
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> Resources: http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to