Hi all,

I'm trying to send a large file, say 200mb+ over HTTP to a DA of a WOApp. The problem is it blows with OutOfMemoryException, because the receiving app is trying to consume the whole request at once. I tried calling request().contentInputStream() and ended up with a null return value.
After googling around I could find this:

http://www.omnigroup.com/mailman/archive/webobjects-dev/2006-May/002268.html

Basically it says contentInputStream() does not work with java 1.5, only on 1.4.2_xx. So the question is how do I get my hands on the raw input stream? Should I write my own WOAdaptor or there is better and/or easier ways deal with the problem?


Regards,
Bogdan Zlatanov



P.S. I'm working on MacOS X Leopard 10.5.1, Eclipse 3.3.1.1(patched), WOLips 3.3.4763, Default MacOS JDK 1.5
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to