tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mandar Joshi" <mand...@commerceroute.com>
Subject No Data available in doPost ?
Date Fri, 16 Feb 2001 02:15:03 GMT
Hi,

I am doing the following thing in my doPost() method.

__________________________________________________________________________________________________________

    public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException,
IOException
    {
         try
         {
           InputStream ins = 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

Mime
View raw message