Thanks for all the comments and hints. 


William Keicher wrote:
> 
> If the content-length http header is appropriately set by the browser when
> uploading files over http, you can implement an AJAX based progress bar
> for
> uploading files:
> 
> There is a java blueprints jsf component that does this (AJAX FileUpload)
> https://blueprints.dev.java.net/ajaxcomponents.html
> 
> also here is an article I found that describes how to implement the
> same...
> http://today.java.net/pub/a/today/2006/02/09/file-uploads-with-ajax-and-jsf.html
> 
> Bill
> 
> On 6/11/07, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
>>
>> My speculations told me that HTTP multipart file send are not suitable
>> for sending files larger than 100MB over a lan and 20 MB over the
>> internet.
>>
>> I'm not saying it is not possible, nor that someone could have done it
>> right.. but 200MB are a lot of data and need serius recover chacksum
>> and so. I suggest you to find better ways to move the file.
>>
>> 2007/6/11, Andrew Robinson <[EMAIL PROTECTED]>:
>> > I don't think there is a why to show progress for file upload. What
>> > happens in HTTP is that the full request is sent all at once and then
>> > the response is streamed to the client. In the servlet environment,
>> > the servlet is not invoked until the entire HTTP request has been
>> > received and therefore, the full file contents. It really isn't a
>> > matter of JSF, but of HTTP.
>> >
>> > If you need to show progress, you will have to use a browser plug-in
>> > of some sort (signed applet for example), or work in the socket layer
>> > in the server. If you have several files being uploaded, you could
>> > send them one at a time using an IFRAME and show progress that way
>> > (each file having its own form that submits to an IFRAME target, and
>> > use the response in the IFRAME with javascript to update some kind of
>> > status, like file 2 of 5 uploaded).
>> >
>> > On 6/11/07, daniel16 <[EMAIL PROTECTED]> wrote:
>> > >
>> > > Hello
>> > >
>> > > Is it possible to show the progress of a file upload. At the moment I
>> am
>> > > using the Tomahawk component t:inputFileUpload but I couldn't see an
>> easy
>> > > way to display the progress. The size of my files are around 200M.
>> Are
>> there
>> > > other tags that I could use?
>> > >
>> > > Thanks
>> > > Daniel
>> > > --
>> > > View this message in context:
>> http://www.nabble.com/Show-Progress-of-File-Upload-tf3902043.html#a11062130
>> > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> > >
>> > >
>> >
>>
>>
>> --
>> ::SammyRulez::
>> http://www.kyub.com/blog/
>> -----------------------------------------------------------------
>> La programmazione รจ per un terzo interpretazione e per due terzi
>> ispirazione.
>> E per un terzo mistificazione
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Show-Progress-of-File-Upload-tf3902043.html#a11073877
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to