title: Spring 3 - How to throw an exception when additional request parameters are passed
body: <p>I have a controller mapping, where I pass 2 request params instead of 1. But when done like that Spring is not throwing any exception rather it is ignoring the additional request params.</p>
  
  <p>For eg:</p>
  
  <pre><code>@RequestMapping(value="/test", method = RequestMethod.GET)
  public ModelAndView eGiftActivation(@RequestParam("value") String value)
  </code></pre>
  
  <p>When I hit my app using <code>/test.do?value=abcd</code> it is working fine. But when I pass additional params like <code>/test.do?value=abcd&amp;extra=unwanted</code> also it's working fine.</p>
  
  <p>In this case I want Spring to restrict the second URL where additional params are passed. </p>
  
  <p>How can I achieve this?</p>