>Is that what happens if you're working on the 1st of May? :)
Unfortunately, this happens everyday !
>Plus it looks like the output string I write to the PrintWriter has to
start
>with "response=", e.g. out.print("response=Foo")...
I don't think so. If you want to put something else in the answer (but why
would you do so ?) you just have to enclose each variable definition between
&. For example :
out.print("garbage&response=Foo&other_garbage");
>Right, we managed to get a step forward. It's bizarre, though - the Flash
>movie only reads from the servlet if the loadVariables command is specified
>with 'dont't send' rather than 'send using POST' or 'send using GET'.
What do you mean by "don't send" ? If you mean without specifying a method,
it don't mean 'don't send'. It means that there is nothing to send so you
don't care. If there are actually variables, they will be sent anyway. the
fact is there is a bug in the way Flash choose the method. With the version
I have, specifying GET will call the doPost method.
If you need it, I can send you a working example.
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
Frauke Nonnenmacher
Envoyé : mercredi 2 mai 2001 10:20
À : [EMAIL PROTECTED]
Objet : Re: Servlet communication with embedded applications (FLASH etc)
Hello!
Right, we managed to get a step forward. It's bizarre, though - the Flash
movie only reads from the servlet if the loadVariables command is specified
with 'dont't send' rather than 'send using POST' or 'send using GET'.
The strange thing is that it still calls the doGet method of the servlet...
Plus it looks like the output string I write to the PrintWriter has to start
with "response=", e.g. out.print("response=Foo")...
Anyway, now at least there's a connection. I hope we'll get a bit further
from here.
Is that what happens if you're working on the 1st of May? :)
(The bank holiday is next monday)
Frauke
___________________________________________________
Frauke Nonnenmacher - Technical Consultant
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
VEGA Skillchange
2 Falcon Way, Shire Park, Welwyn Garden City, Hertfordshire, AL7 1TW
Tel: +44 (0)1707 362680
Fax: +44 (0)1707 362689
Internet: http://www.vega.co.uk\skillchange
VEGA Skillchange is a division of VEGA Group PLC
___________________________________________________
Notice of Confidentiality
This transmission is intended for the named addressee(s)
only. It contains information which may be confidential
and which may also be privileged. Unless you are a named
addressee (or authorised to receive it for the addressee)
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please
notify me.
___________________________________________________________________________
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