You can use POST or GET in Flash (or Director/Shockwave or Authorware). So
basically anything you can do with an HTML form you can do with Flash.

Whats more, you can do this while the movie is playing (client and/or server
maintain state). For example, you can begin the movie by asking for a
username and password, POST that to a servlet and return whatever info you
need (name=value pairs or XML) make another POST based on some other user
action and recieve more data, etc... -- all the time being on the same html
page (no reload).



----- Original Message -----
From: "Frauke Nonnenmacher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 2:57 AM
Subject: Servlet communication with embedded applications (FLASH etc)


> Hi!
>
> Is it possible for a servlet to communicate with applications embedded in
an
> HTML page? For example, I need a FLASH movie to send some data to a
servlet,
> e.g. a student name (that's the easy bit, I got that ;). Thing is, the
FLASH
> movie also needs some information back from the servlet, e.g. if the
student
> is registered for a certain course.
>
> I know how to get the information I need to send back, but how do I
actually
> pass it back to the FLASH movie? Is there a special value I can use for
the
> content type of the HttpServletResponse object to get the HTML page to
pass
> the information in the response on to the embedded movie? Or can I use the
> response to only modify the HTML page so that maybe the FLASH movie can
use
> javascript to read some variable I set?
>
> So far I've only used HttpServletResponse objects to write entirely new
HTML
> pages, but that's no good in this situation.
>
> Cheers,
>
> Frauke
>
> Frauke Nonnenmacher
> Fat Cat Cartoons
> www.fatcatoons.com <http://www.fatcatoons.com>
> ___________________________________________________
> The statements and opinions expressed here are my own
> and do not necessarily represent those of the VEGA Group.
>
>
___________________________________________________________________________
> 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

Reply via email to