Is it from JSP to Flex or the  other way around?

Below is how you want to do it from Flex:

var service:HTTPService = new HTTPService();
service.url = "sampleDestination";
service.method = "POST";
service.addEventListener("result", httpResultHandler, false, 0, true);
service.addEventListener("fault", httpFaultHandler, false, 0, true);
var parameters:URLVariables = new URLVariables();
parameters.userName = username;
parameters.password = password;
service.send(parameters);


Regards,
--
Prasanta Saga


On Friday, August 16, 2013 3:03:54 AM UTC-7, Kausthubh Jawatkar wrote:
>
> Hello all ,
> I want to pass variable from jsp to flex using post method?
>  I know we have to used httpservice for that, but can you explain how to 
> used ??? any basic example??
>
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/flex_india.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to