• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Browser refresh issue on File Upload...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Browser refresh issue on File Upload...
      • From: Mike Schrag <email@hidden>
References: 
 >Browser refresh issue on File Upload... (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
  • Next by Date: Re: How-tos: Eclipse + WO
  • Previous by thread: Browser refresh issue on File Upload...
  • Next by thread: Re: Browser refresh issue on File Upload...
  • Index(es):
    • Date
    • Thread