« Return to Thread: How to add trinidad progress Indicator with trinidad file upload component

Re: How to add trinidad progress Indicator with trinidad file upload component

by Scott O'Bryan :: Rate this Message:

Reply to Author | View in Thread

Still won't work using Trinidad's current framework.  :)

Andrew Robinson wrote:

> Dang it, I think I was thinking of the fact that HTTP requires that
> the incoming stream is processed before the output can be obtained on
> the client. For example, you  close the input stream of a url
> connection before getting the output stream. Sorry.
>
> On Fri, May 9, 2008 at 3:07 PM, Stephen Friedrich <trinidad@...> wrote:
>  
>> Huh? That's plain wrong.
>> There are many examples out there that use ajax to show a progress bar.
>> The servlet receives bytes as a stream.
>> It's tricky, but it can be done and has been done.
>>
>> See for example
>> http://www.codeguru.com/java/article.php/c13913/
>>
>> Andrew Robinson wrote:
>>    
>>> HTTP POST operations are not streaming. The server obtains the full
>>> request after the POST is complete. There is no way with HTTP to
>>> determine any kind of progress for an upload. You will just have to
>>> show a please wait animation or something.
>>>
>>> On Fri, May 9, 2008 at 9:05 AM, AjayMundra <ajay.mundra@...> wrote:
>>>      
>>>> How to add trinidad progress Indicator with trinidad file upload
>>>> component
>>>>
>>>> i'm trying to add a progressIndicator with trinidad inputFile component,
>>>> but
>>>> i do not find any document on how to do this.
>>>>
>>>> Please help!
>>>>
>>>>
>>>> Ajay Mundra
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/How-to-add-trinidad-progress-Indicator-with-trinidad-file-upload-component-tp17150076p17150076.html
>>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>>        
>>    

 « Return to Thread: How to add trinidad progress Indicator with trinidad file upload component