title: Required String parameter is not present Spring MVC
body: <p>I want to access two different pages in my browser using:</p>
  
  <pre><code>http://localhost:8080/name?views
  </code></pre>
  
  <p>and</p>
  
  <pre><code>http://localhost:8080/name?uviews
  </code></pre>
  
  <p>But I'm getting error Required String parameter 'uviews' is not present when I use first url and I get Required String parameter 'views' is not present when I use second one.</p>
  
  <p>here is my Response body</p>
  
  <pre><code>@ResponseBody     
  public Object getViewInJson(@RequestParam("views") String views ,@RequestParam("uviews") String uviews) throws IOException{
  
   loader = new AnalyticsLoader();
  
  
  
      return loader.AnalyticsLoader(views,uviews);
  }
  </code></pre>
  
  <p>How can access both views and uviews?</p>