users@jersey.java.net

[Jersey] Re: Form data

From: Martin Matula <martin.matula_at_oracle.com>
Date: Thu, 8 Sep 2011 02:47:10 +0200

Hi Arthur,
How does your resource look like?
Can you share the code of the resource method and the message (at least the full headers)?

Martin

On Sep 6, 2011, at 10:19 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.
>