Hi all,
First of all, I'm using Jersey 1.7 on GAE (Google Apps Engine).
My goal is to get all parameters from a POST request as a parameter of
a mapped method.
I read the doc and it's writing to use this:
@POST
@Consumes("application/x-www-form-urlencoded")
public void post(MultivaluedMap<String, String> formParams) {
// Store the message
}
But in my case, the variable formParam is always an empty map.
I also read that all values need to be Strings but mines are.
So do I need to configure anything special for example in the web.xml
or somewhere else to make it works.
Thanks for your help.