title: Spring Mvc Dynamic RequestMapping
body: <p>My problem is dynamic url on controller.I have category tree.My category has n number subcategories.</p>
  
  <p>My url : www.xyz.com/category/mainCategory/subCategory/subCategory/subCategory/subCategory</p>
  
  <pre><code>@Controller
  @RequestMapping(value="/category/**")
  public class CategoryController {
  
      ????     
      public void init()
  
  }
  </code></pre>
  
  <p>How do I defined dynamic requestmapping?.</p>