Here the main challenge was to display the data in the following format
As we have may tree view structure available in the market, but they don’t provide a org structure look & feel.
I took the reference of http://dl.dropbox.com/u/4151695/html/jOrgChart/example/example.html and created a customized structure using which we can dynamically create organization structure.
Bellow is the location where i have kept the code and Database
Display-Hierarchical-Data Source Code
When you build and run the code you need to provide the path as
Happy Coding 🙂