• 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
Keep an InputStream alive and reload a page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keep an InputStream alive and reload a page


  • Subject: Keep an InputStream alive and reload a page
  • From: Fabrice Pipart <email@hidden>
  • Date: Wed, 13 Jul 2005 14:20:54 +0200

Hi

As I already wrote in a previous email (no answer unfortunately) I am having problems to upload large files.
I want to have a progress bar and to be able to continue browsing the application.
I used the code of Rochkind Jonathan available here http://wocode.com/ cgi-bin/WebObjects/WOCode.woa/1/wa/ShareCodeItem?itemId=306


I have the progress bar in a popup :-)
As soon as you try to load another page in the main window (which waits for an answer during the upload otherwise) the upload fails :-(
But now I know why :


The input stream that is initially taken from the multipart form is lost as soon as you try to load something in the main page.
I debuggued this in Eclipse, it exactly happens between line 192 and 199 of WOWorkerThread.runOnce() that occurs after the component's appendToResponse


My question is :
is there a way to keep that InputStream alive and active ???


Fabrice Pipart

www.icconsulting.mc

International Corporate Consulting
25, Boulevard de Belgique
MC - 98000 Monaco

T. +377 97982104 (direct)
F. +377 97708807



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: EOAdaptorChannel's evaluateExpression()
  • Next by Date: could not connect to WO-Apps on 10.4 Tiger
  • Previous by thread: Re: eo t-shirt
  • Next by thread: could not connect to WO-Apps on 10.4 Tiger
  • Index(es):
    • Date
    • Thread