Re: Closing ServletInputStream



"adblock" <A.Grasoff@xxxxxxxxx> wrote...
no, the server should deal with it

ok.. but.. why? :)

On 31 ���, 04:17, "Crouchez" <safdfagf...@xxxxxxxxxxxxxxx> wrote:
"adblock" <A.Gras...@xxxxxxxxx> wrote in message

news:cc84a78b-4755-4cfa-964e-63778a6f63da@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi,
Is it necessary to close the InputStream, which was getted by call of
method ServletRequest.getInputStream() ?
no, the server should deal with it

adblock, your quoting style is hard to follow. Just trim the post to which you are replying and insert your comments - no need to requote the quoted part again.

Crouchez wrote:
because the server deals with the sockets and keep-alive connections etc.

and so that the programmer doesn't have to. To flip your question about, adblock, why would you NOT let the server close it for you?

--
Lew
.


Quantcast