You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Kirill Maksimov <ne...@gmail.com> on 2007/04/14 19:35:00 UTC
FileUpload errors
Hello, guys!
Thanks for your software, it's pretty good. But I have found an error.
For example, on the page
http://jakarta.apache.org/commons/fileupload/streaming.html
is some outdated code
Instead of 'item.openStream(stream)' should be 'item.getInputStream(Stream)'.
Thanks for assistance,
Kirill A Maksimov
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: FileUpload errors
Posted by Jochen Wiedmann <jo...@gmail.com>.
On 4/14/07, Kirill Maksimov <ne...@gmail.com> wrote:
> For example, on the page
> http://jakarta.apache.org/commons/fileupload/streaming.html
> is some outdated code
>
> Instead of 'item.openStream(stream)' should be 'item.getInputStream(Stream)'.
Why do you think so? The interface FileItemStream doesn't have a
method getInputStream?
Jochen
--
My cats know that I am a loser who goes out for hunting every day
without ever returning as much as a single mouse. Fortunately, I've
got a wife who's a real champ: She leaves the house and returns within
half an hour, carrying whole bags full of meal.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org