0 Replies Latest reply on Jul 10, 2012 8:15 AM by Leo_1976

    Refresh a .jsp from .swf (another page) when .jsp is already open

    Leo_1976

      Hi everybody,

      i would like to know if there is a way to refresh a jsp from a swf from an another web page.

      In my mxml i place this funtion:

       

      protected function refreshDettaglio():void

      {

           var parameters:Object = new Object();

           parameters["refreshDettaglio"]="refresh";

           var service : HTTPService = new HTTPService();

           service.url = Global.getInstance().baseUrl + "/dettaglio.jsp";

           service.method = "POST";

           service.send(parameters);

      }

       

      to call that page.

       

      That POST happens when i click the refreh button on my mxml application

      The send() work fine, couse i logged that param.

       

      But now, there is a way to refresh that page (dettaglio.jsp) if it's already open in a browser?

       

      Thanks,

      Leo