title: RESTful - Getting null in Queryparam
body: <p>Getting the response as null.</p>
  
  <p>here is my code </p>
  
  <pre><code>package com.javacodegeeks.enterprise.rest.jersey;
  
  import java.util.Date;
  
  import javax.ws.rs.POST;
  import javax.ws.rs.Path;
  import javax.ws.rs.QueryParam;
  import javax.ws.rs.core.Response;
  
  @Path("/")
  public class HelloWorldREST {
  
  @POST
  @Path("/submitValue")
  public Response responseMsg(@QueryParam("name") String name,@QueryParam("email") String email,@QueryParam("date") Date date) {      
  String output = date+email+name;
  System.out.println(output);     
  
  return Response.status(200).entity(output).build();
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Here is the call to the URL</p>
  
  <pre><code>Ext.Ajax.request({
  method : 'post',
  url: 'rest/submitValue/',
  //success: someFn,
  //failure: otherFn,
  params: 
  { 
  name: Ext.getCmp('name').getValue(),
  email : Ext.getCmp('email').getValue(),
  date : Ext.getCmp('date').getValue()
  
  }
  });
  </code></pre>
  
  <p>i am checked that when i send this request parameter got passed ... so no chance that their value is null.</p>