Hi all,

I've noticed some awkward behaviour with uploaded files from Netscape
browsers. I have a form which includes a file upload field. My turbine
action class validates some of the entries on the form before accepting
them. However, the file upload seems to start before the form is
accepted and as a result if the action method rejects the form, it waits
until the whole file has been uploaded before sending the rejection back
to the client. The transfer is then aborted and the uploaded file is
dropped. However, this can take some time with large files and the file
has to be uploaded again.

This does not seem to occur with IE browsers. The form is validated,
failed and rejected immediately.

My code clearly does a 
        if ( ! validated )
                {
                        data.setMessage("Validation failed ...");
                        return;
                }
...
doUpload(...);

A google search didn't help!

I suspect that this is a Netscape issue ( or more likely me being daft )
and may be OT for this list. However, if there is a turbine/upload
service work-around hopefully it will be of interest to others. 

Any help/suggestions/thoughts/answers would be much appreciated.

Thanks,

Peter
-- 
Peter Courcoux

PGP key ID : 2E50A3C8
Telephone : 01923 661488
Mobile : 07880 605626



--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to