1 Reply Latest reply on Nov 1, 2010 5:11 AM by Sudhakar Kakaraparthi

    mx.rpc.http.HTTPService, HttpResponse.sendRediect(url)

    Sudhakar Kakaraparthi

      Hi guys,



      I am using HTTPService to invoke my server side servlet and i passing some parameters using "data" field. In servlet side based on the parameter it will redirects and some other URL. Servlet code is below...








      How can I get the URL in flex side. Here I am using HTTPService at Flex client side. This is the service I have to use at FlexClient or any other.


      Could please help me to solve this problem...

        • 1. Re: mx.rpc.http.HTTPService, HttpResponse.sendRediect(url)
          Sudhakar Kakaraparthi Level 1



          I was able to get the request headers and response url from AIR application using URLLoader. below is the code...



                         var url:URLLoader = new URLLoader();




                    private function status(event:HTTPStatusEvent):void{



          But I want same functionality in WebApplication. I am unable to add listener for "HTTPStatusEvent.HTTP_RESPONSE_STATUS".


          Please help.....