Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Getting the values from Servlet

Avatar

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
this.

{Sorry for my English} Thanks,

Namala.
1 Reply

Avatar

Level 2
Hi,



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.




http://livedocs.adobe.com/flex/3/html/data_access_6.html#235586



Hope this helps.