Hi
>From what i know, You cannot perform this call directly. To call any flex
method from JSP you can add some javascript bridge . Look around how
to useflash.external.
*ExternalInterface* (ActionScript
3.0)<http://livedocs.adobe.com/flash/9.0_fr/ActionScriptLangRefV3/flash/external/ExternalInterface.html>
.


2013/8/18 Kausthubh Jawatkar <openweap...@gmail.com>

> Hello Prasanta,
> Thank you for reply and help me,
> I think this example is send value from flex--> jsp, but I want jsp-->flex.
>
> Thank you
>
>
> On Saturday, August 17, 2013 2:16:28 AM UTC+5:30, Prasanta Saha wrote:
>>
>> 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 flex_india+unsubscr...@googlegroups.com.
> To post to this group, send email to flex_india@googlegroups.com.
> Visit this group at http://groups.google.com/group/flex_india.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Bien à vous,
--
LIMOURI Anouar
IT Architect, SOA/BPM
Tel   : (+212) 669 09 62 08
Email : limouri.ano...@gmail.com

-- 
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 flex_india+unsubscr...@googlegroups.com.
To post to this group, send email to flex_india@googlegroups.com.
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