title: Override @RequestMapping in child Spring Controller
body: <p>We use Spring 3.2 for our projects with a parent and child (maven) projects (child project extends the parent project).</p>
  
  <p>We have an issue to override the <code>@RequestMapping</code> in the child project to redefine specifically the state of an URL. 
  For example :</p>
  
  <pre><code>@Controller
  public class MyParentProjectController {
  
      @RequestMapping(value = "/pdfRender")
      public ModelAndView pdfRender(MyParentProjectCommand command, HttpServletRequest request,
              HttpServletResponse response, Application application)
          {
              // ...
          }
      }
  }
  </code></pre>
  
  <p>And in the child project with a dependency on the parent project :</p>
  
  <pre><code>@Controller
  public class MyChildProjectController {
  
      @RequestMapping(value = "/pdfRender")
      public ModelAndView pdfRender(MyChildProjectCommand command, HttpServletRequest request,
              HttpServletResponse response, Application application)
          {
              // ...
          }
      }
  }
  </code></pre>
  
  <p>Spring tells me it's impossible because there are two identical entry points in the child project. It's not possible to redefine a <code>RequestMapping</code>. I do not find a solution to do that without going through twisted stuff.
  If you have a brilliant solution for me without use <code>@RequestMapping(value="${...}")</code>.</p>
  
  <p>Best regards</p>