4 Replies Latest reply on Feb 8, 2010 12:53 AM by Ansury

    Filereference: UPLOAD_COMPLETE_DATA event is not triggered from java servlet

    zababun
      Hi,

      I can't seem to make flex component to dispatch UPLOAD_COMPLETE_DATA event after upload is compete on a server. From what I've found from other topics on the forum in order to have this event dispatched some data should be returned from the server. For upload I'm using java sevlet on a server which receives a file and "does staff". COMPLETE event get's fired up just fine, but I need to pass back some parameters to a client.

      This may be a stupid question, but how do I make a servlet return data? According to java servlet's specifications, doPost method doesn't return anything (void). Any tips are greatly appreciated. Thank you.