users@glassfish.java.net

Re: incoming client HTTP POST

From: Steven Siebert <smsiebe_at_gmail.com>
Date: Tue, 6 Sep 2011 16:20:07 -0400

Can you post your jax-rs app code?

Can you see the form data in the http body using a sniffer like wireshark
before it gets to your app server?

S

On Tue, Sep 6, 2011 at 2:58 PM, Arthur Yeo <artyyeo_at_gmail.com> wrote:

> Hi,
>
> I have a Jersey appServer that is responding to an iPhone app that's
> posting HTTP POST.
> At the server code end, I can see that the POST is coming in and I did
> receive it.
> However, none of the FormParams are filled even though I hard-coded them
> for testing purposes; i.e. they are all null.
>
> The front end is encoding the HTTP POST with this kind of format for
> FormParam ...
>
> *Content-Disposition: form-data; name="email"*
> *
> *
> *blah
> *
> *
> *
> *
> *
> Any obvious issues come to mind?
>
> Thanks!
>
> --
> Arthur Y.
> *
> *
>
>