users@jersey.java.net

Re: [Jersey] Re: How to Read data appended to url for PUT method

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 7 Sep 2010 09:39:01 +0200

On Sep 6, 2010, at 10:20 PM, piranha wrote:

>
> Hi,
>
> Sorry for late reply. I was trying to understand, before i could get
> back to
> you.
>
> I'm using a form to send POST data of type
> "application/x-www-form-urlencoded"
>
> I annotated my add method with @POST and used @FormParam for
> parameters.
>
> Is that the right way? ...

Yes, you can do that. See here:

https://jersey.dev.java.net/nonav/documentation/latest/user-
guide.html#d4e232

Paul.