0 Replies Latest reply on May 17, 2007 2:36 AM by eranarki

    Problem Uploading File

    eranarki
      Hi,
      I built a small flex application to upload file to my website. I used flex for the client side, and java servlet for the server side.
      I saw in AS3 cookbook that the default Content-Type of FileReference is "multipart/form-data", however when uploading the file the default Content-Type is "application/x-www-form-urlencoded"
      I tried to do something like that: file.ContentType = "multipart/form-data" but then when i checked in the eclipse request.getContentType() i got null

      what should i do?

      Regards,

      Eran