users@glassfish.java.net

Re: http post not working

From: Hassan Schroeder <hassan.schroeder_at_gmail.com>
Date: Sun, 13 Jun 2010 09:21:55 -0700

On Sun, Jun 13, 2010 at 8:29 AM, <glassfish_at_javadesktop.org> wrote:

>     System.out.println("~~~~~~~~~~~~~~~~~~~~" + request.getParameter("test"));

> now the result is,
>
> for get --> ~~~~~~~~~~~~~~~~~~~~This is the data
> for post --> ~~~~~~~~~~~~~~~~~~~~null

Then either the value is not being passed at all in the POST -- you can
check this with FF+FireBug or something comparable -- or something
executing in front of your servlet is absorbing the response body.

Do you have any Filters defined? Is there anything that might be doing
its own processing of the input stream?

-- 
Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
twitter: @hassan