title: Use Post method of jersey-Rest and gets params from url
body: <p>I want to develop rest api.such as:
   <a href="http://localhost:8080/TestSomeWay/resources/test/create?meg=sadasd&amp;name=sadasd" rel="nofollow">http://localhost:8080/TestSomeWay/resources/test/create?meg=sadasd&amp;name=sadasd</a> 
  and get params from urlparams exp."meg"&amp;"name"
  I am using jersey to develop a Restful post method 
  it  dose not make it out 
  code:</p>
  
  <pre><code>@POST
  @Path("/create")
  @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
  @Produces(MediaType.TEXT_PLAIN)
  @Override
  public String create( @FormParam("meg")String megString, @FormParam("name")String nameString) {
     TestUser testUser=new TestUser();
     testUser.setMeg(megString);
     testUser.setName(nameString);
     em.persist(testUser);
     em.flush();
     return testUser.getId().toString();
  
  }
  </code></pre>