title: How to add breadcrumb to Spring MVC?
body: <p>How can I add breadcrumb to all pages of Spring MVC? I suppose it would be a good question to ask as breadcrumbs are quite popular now and it might be the question of many others.</p>
  
  <p>I've found this  <a href="https://github.com/pawanspace/BreadCrumb-Spring-MVC" rel="nofollow noreferrer">solution</a> that is using dummiesmind.breadcrumb.springmvc.annotations, there is also a <a href="https://stackoverflow.com/questions/2933943/best-practice-to-manage-the-path-breadcrumbs-in-spring-without-web-flow">question</a> on stackoverflow but I could not learn much except finding similar solution to the one that Ive found. Another solution is <a href="http://www.webreference.com/js/scripts/breadcrumbs/index.html" rel="nofollow noreferrer">this one</a> that is using JavaScript.</p>
  
  <p>Does anyone have a better option to the ones I mentioned?</p>
  
  <pre><code>@Link(label="Sample Link", family="controllerFamily", parent="");                                                                  
  @RequestMapping(value = "sample.do", method=RequestMethod.GET);
  public ModelAndView sampleMethod(HttpSession session){...}
  </code></pre>