Re: Browser refresh issue on File Upload...
Re: Browser refresh issue on File Upload...
- Subject: Re: Browser refresh issue on File Upload...
- From: Chuck Hill <email@hidden>
- Date: Sat, 24 Feb 2007 09:49:59 -0800
Do you have overwrite set on the the file upload? It may be getting
an error as the previously uploaded file can be overwritten. You
could move it out of the way / delete it after processing the
upload. Or you could set a flag when you process the upload. Check
this flag in takeValues... and if it is set, do NOT call super.
Chuck
On Feb 24, 2007, at 7:32 AM, James Cicenia wrote:
Hello -
I have various file upload pages that work perfectly.... however,
If some hits refresh on their browser after uploading a file it
gives them this exception:
[2007-02-24 09:30:17 CST] <WorkerThread14>
java.lang.RuntimeException: Could not create output stream.
'outputStream', or 'streamToFilePath' may have evaluated to null.
No Upload performed.
Is there a way to trap for this ?
- James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden