Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 64542 invoked from network); 16 Feb 2001 02:10:30 -0000 Received: from unknown (HELO dinar.commerceroute.com) (204.247.202.141) by h31.sny.collab.net with SMTP; 16 Feb 2001 02:10:30 -0000 Received: from MANDAR ([10.26.30.99]) by dinar.commerceroute.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1511JSP7; Thu, 15 Feb 2001 18:10:30 -0800 Message-ID: <00ff01c097be$50d91bc0$631e1a0a@mandar> From: "Mandar Joshi" To: Subject: No Data available in doPost ? Date: Thu, 15 Feb 2001 18:15:03 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00F8_01C0977B.37958010" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------=_NextPart_000_00F8_01C0977B.37958010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am doing the following thing in my doPost() method. _________________________________________________________________________= _________________________________ public void doPost(HttpServletRequest request,HttpServletResponse = response) throws ServletException, IOException { try { InputStream ins =3D request.getInputStream(); logMsg("Bytes available " + ins.available()); } } _________________________________________________________________________= ___________________________________ I am posting some data to this servlet but I am getting the available = bytes to be 0 ?? Any guess why is this happening ? TIA Mandar ------=_NextPart_000_00F8_01C0977B.37958010 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I am doing the following thing in my = doPost()=20 method.
 
________________________________________________________________= __________________________________________
 
    public void=20 doPost(HttpServletRequest request,HttpServletResponse response)= throws=20 ServletException, IOException
    {
         try
&nb= sp;  =20      {
      =20     InputStream ins =3D=20 request.getInputStream();
       =20    logMsg("Bytes available " + = ins.available());
    =     =20 }
   =20 }
____________________________________________________________________= ________________________________________
 
I am posting some data to this servlet = but=20 I am getting the available bytes to = be 0=20 ??
 
Any guess why is this happening = ?
 
TIA
Mandar
------=_NextPart_000_00F8_01C0977B.37958010--