Expand my Community achievements bar.

Getting the values from Servlet


Level 3
Hi EveryOne,

I have done one thing using Flex,i have send the parmeters
from flex to servlet using HttpService and in the servlet i
captured them and used them.Now what i want is i have to capture
the values from servlet to flex .

Response content in servlet is set to text/xml,any one please
give me the idea how to do thsi or please send me some code to do

{Sorry for my English} Thanks,

1 Reply


Level 2

You have to handle the result event of the HTTPService
component. In the result handler you will have access to the
ResultEvent object which will contain the response from the server
in the "result" property. Please visit the URL below for more
details on how to handle result from the server.


Hope this helps.