|
So you're trying to navigate the browser window as you submit this form? I think you're looking for LoadVars.send(). Check that out in the ActionScript Core Classes section of the docs.
Matt
-----Original Message-----
Hi all,
I have the following problem. My Flex app gets to a point where its work is done, and it needs to pass control to a legacyCGI application which needs to receive several variables as a POST. Some of these variables exceed the limit that you can have in a GET, so it must be done with a POST.
I think that getURL is the only way that I can pass control from a Flex app to a regular CGI app. HTTPService seems like it would have been ideal, but the problem is that the result that gets sent back cannot be used as HTML display.
So I am trying to get getURL to do a POST and send these variables, but it seems rather unwilling. At best it seems it only wants to do a GET.
I have tried a variety of methods such as getURL('SnoopServlet.jsp, "_self", "POST") according the docs that I can find - but then how do I deal with the parameters? IfI add them to the url as in getURL("SnoopServlet.jsp?aaa=bbb", "_self", "POST") then the compiler complains that "There is no property with name 'GET'"...
Can someone please give me a snippet of the proper way to do this or suggest a proper way to achieve this?
Thank you
Jonathan
--- |
- RE: [flexcoders] getURL POST problems Matt Chotin
- RE: [flexcoders] getURL POST problems Jonathan Bezuidenhout

