On Sun, 15 Dec 2002, Galbayar Dorjgotov wrote:
> Date: Sun, 15 Dec 2002 15:31:50 +0800 > From: Galbayar Dorjgotov <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: TomCat Users <[EMAIL PROTECTED]> > Subject: how to convert reader to the inputstream > > how to convert reader to the inputstream? It is not at all obvious what you are trying to accomplish -- could you explain that, please? If you want to read the submitted data as characters, you should call: Reader r = request.getReader(); Instead, if you want to read the submitted data as bytes, you should call: ServletInputStream sis = request.getInputStream(); Only one or the other call is allowed on any particular request. Craig -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
