title: Whats the use of mapping @requestMapping onto an entire class?
body: <p>This is an extremely basic question about spring MVC i have seen a few examples where the @RequestMapping sits above the class name of a Controller :</p>
  
  <pre><code>@RequestMapping    
  public class somethingController {
      .
      .
      .
  }
  </code></pre>
  
  <p>I understan the use of RequestMapping when it comes to methods but i haven't been able to understand the use of mapping it onto an entire  class. What is it used for?</p>
  
  <p>thanks in advance.</p>