Hi Paul,
Thanks for your reply.
I tried the 2 methods you suggested but it still doesn't work.
In both cases, my params are null...
Actually i'm using jersey-0.9-ea-SNAPSHOT.jar and jsr311-api-0.8.jar.
I was wondering if there's a problem if I deploy my war on Tomcat because
when
I had the following code on the web service it displays
"org.apache.catalina.connector.CoyoteInputStream":
@Context
HttpServletRequest servletRequest;
@POST
@ConsumeMime(MediaType.APPLICATION_FORM_URLENCODED)
@Path("/test/")
public Response aMethod(@FormParam("param") String param) {
System.out.println(servletRequest.getInputStream().getClass().toString());
return null;
}
It really drives me crazy...