Re: Browser refresh issue on File Upload...
Re: Browser refresh issue on File Upload...
- Subject: Re: Browser refresh issue on File Upload...
- From: James Cicenia <email@hidden>
- Date: Sat, 24 Feb 2007 13:52:56 -0600
Hmmm,,,
When I look at my logs... I don't see any output besides the error...
nothing in the constructor, nothing in the actual upload methods...
nothing.
- James
On Feb 24, 2007, at 1:00 PM, Mike Schrag wrote:
I believe this exception is actually misleading -- the same thing
happens with that UTF8+FileUpload bug. I suspect this is related
to the multipart iterator already having consumed the request
parts, and it ends up in a weird path in WOFileUpload component
that gives this confusing error message. This is just a theory,
but I know this exact message occurs under similar circumstances.
ms
On Feb 24, 2007, at 12:49 PM, Chuck Hill wrote:
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:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
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