my dog learned polymorphism
The moose likes Struts and the fly likes Please Help in Building Breadcrumb Trails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Please Help in Building Breadcrumb Trails" Watch "Please Help in Building Breadcrumb Trails" New topic

Please Help in Building Breadcrumb Trails

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I have done my homework on searching for a breadcrumb example on the internet.

I did find anything that had been done in the Struts framework.

Please share your experience if anybody has put the breadcrumb trails on top of each of the web pages. I do not think that I have to re-invent the wheel for this task. Thanks a lot in advance.
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
One thing that you have to decide is how dynamic your bread crumb trail is. For example, your site may have a "Product Details" page. The user can get to this page in several ways. Maybe they got to that page via "Product Search" > "Search Results" > "Product Details". Or maybe they got there via "My Account" > "Recent Orders" > "Order 30393" > "Product Details".

The project that I am on has a fairly static "bread crumb" such that when you are on a particular page you will always see the same trail ( "You are here: Home > Products > Product Details"). This is done by a configuration file that generates the trail based on the name of the action.

- Brent
K Sathya Narayanan

Joined: Feb 15, 2007
Posts: 28

Visit the below website to learn more about BreadCurmb in struts 2.0


Sathya Narayanan K
subject: Please Help in Building Breadcrumb Trails
jQuery in Action, 3rd edition