I'm writing a servlet that handles the action from a form. When the form uses the "GET" HTTP method and I do request.getParameter(whatever_parameter) it works just like it should. However, when I change the method of the form to "POST" the getParameter function always returns null. I'm pretty sure my form is not the problem, and neither is my servlet code. I've read in many many places that the request.getParameter function works with both methods. Is this true? If so what am I doing wrong?
If this technique is incorrect for POST, is there a way to directly read the parameters using some kind of InputStream technique?