title: @FormParam does not work with GET method-RestEasy
body: <p>I am learning web services with Resteasy</p>
  
  <p>i am doing a simple basic example of rest easy using <code>@FormParam</code>.
  My example works when request method is <code>POST</code>
  but does not work when i change the request method to<code>GET</code></p>
  
  <pre><code>@Path("/form")
  public class FromParamService {
  
      @POST
      @Path("/add")
      public Response addUser(
          @FormParam("name") String name,
          @FormParam("age") int age) {
  
          return Response.status(200)
              .entity("addUser is called, name : " + name + ", age : " + age)
              .build();
  
      }
  
  
      @GET
      @Path("/adduser")
      public Response addUser1(
          @FormParam("name") String name,
          @FormParam("age") int age) {
  
          return Response.status(200)
              .entity("addUser is called, name : " + name + ", age : " + age)
              .build();
  
      }
  }
  </code></pre>
  
  <p>output with GET is</p>
  
  <blockquote>
    <p>addUser is called, name : null, age : 0</p>
  </blockquote>
  
  <p>output with POST is</p>
  
  <blockquote>
    <p>addUser is called, name : Abhi, age : 23</p>
  </blockquote>
  
  <p>The jsp for GET request is</p>
  
  <pre><code>&lt;html&gt;&lt;body&gt;       
  
  &lt;form action="rest/form/adduser" method="get"&gt;
      &lt;p&gt;
          Name : &lt;input type="text" name="name" /&gt;
      &lt;/p&gt;
      &lt;p&gt;
          Age : &lt;input type="text" name="age" /&gt;
      &lt;/p&gt;
      &lt;input type="submit" value="Add User" /&gt;
  &lt;/form&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>And Jsp for POST request is</p>
  
  <pre><code>&lt;html&gt;&lt;body&gt;
  
  
  &lt;form action="rest/form/add" method="post"&gt;
      &lt;p&gt;
          Name : &lt;input type="text" name="name" /&gt;
      &lt;/p&gt;
      &lt;p&gt;
          Age : &lt;input type="text" name="age" /&gt;
      &lt;/p&gt;
      &lt;input type="submit" value="Add User" /&gt;
  &lt;/form&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>My question is why i am not able to get values using GET request with <code>@FormParam</code>?</p>