I have successfully received post data in a JSP both using the getParameter and using the com.oreilly.servlet utility classes. 
 
How are you sending the post data?  Are you using a web browser and form, or are you trying to post it yourself using an applet or something.  The process does work, so it must be something unique to the way you are sending the info.
 
Regards,
Paul
 
-----Original Message-----
From: Mandar Joshi [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: Anybody doing doPost successfully ?

Hi,
I am still not successful in getting data in doPost. anybody is doing it successfully ?
 
Regards,
Mandar
----- Original Message -----
Sent: Thursday, February 15, 2001 6:15 PM
Subject: No Data available in doPost ?

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

Reply via email to