1 Reply Latest reply on Apr 15, 2009 5:40 AM by ilya_shaikovsky

    Asynchronous file upload in JSF

      Hi All,

      My application has an extensive use of file uploads from 30 MB to 300MB. The application uses JSF and Spring When i invoke the file upload button on the rich:fileUpload component, it is storing the file in the temporary location on the application server. This is taking more time. For Ex: doing from Greenville,SC on the application server residing in Cincinnati,OH is taking around 8 Minutes for for 75MB file. In order to make sure the user can do other things, while this can be run in the background and an email will be sent to him once the upload is complete, we want to make this process as asynchronous to avoid the long wait times.
      Any suggestions on this will be of great help.

      Thank You in Advance,
      Sudheer

        • 1. Re: Asynchronous file upload in JSF
          ilya_shaikovsky

          It seems that the better way is to open separate window for uploading.
          Because fileUpload sends one request for upload file and polls the server to update the progress.. So you requests could be locked if you will perform all the activities on the same page.