IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 61
IDependOn-Set: 62
IDependOn-Set: 7
IDependOn-Set: 71
LastModifiedSecs: 924719994
Parent: 7
SequenceNumber: 7
Title: I'm having trouble with opening the body of a request with getReader() and getInputStream().
Part: 0
Author-Set: jon@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 921524100
Type: monospaced
Lines: 17
----------
From: Donald Ball <balld@webslingerZ.com>
To: Java Apache Users <java-apache-users@list.working-dogs.com>
Subject: Re: getReader() & getInputStream()
Date: Sun, Mar 14, 1999, 10:59 PM

> I'm having trouble with opening the body of a request with getReader() and
> getInputStream(). The calls work but reading from them results in an EOF
> (-1 bytes read). This causes my multipart decoder to barf.

Make sure you don't call any of the getRequestParameter methods or
anything that requires touching the inputstream... if you do so,
apache-jserv will completely consume the stream in the process of parsing
out (trying to, anyway) all of the form data and you'll be unable to read
it yourself.

- donald
EndPart: 0
