简体   繁体   中英

How to create breadcrum in a struts2 application

I am working on struts2 application using Bootstrap template. I want to integrate breadcrumb on each form but i don't want to include static text on each form to include breadcrumb. Is there any way to centralize breadcrumb text and add it dynamically according to actions and methods?

   <ul class="breadcrumbs">
    <li><a href="#"><%= variable.getValue() %></a></li>
    <li>&gt;</li>
    <li><a href="#"><%= variable.getValue() %></a></li>
    <li>&gt;</li>
    <li><%= variable.getValue() %></li>
  </ul>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM