I need some solution where i can pick data from database and display as menu--> sub-menu-->sub-sub-menu on jsp page
I have a database table which is as follows:

FIELD-NAME DATATYPEHeading varchar2(50)Level1 varchar2(50)Level2 varchar2(50)Level3 varchar2(50)Level4 varchar2(50)which has data respectively. Now i would like to pick that data based on selection and display as menu and sub-menu tab.
For example:
if i select in Heading lets say Menu-1 then it should display respective records of Menu-1 with a query select level1 where heading='Menu-1'.
I have gone through with some websites where the data is static. But i require that it displays dynamically inside jsp page using any script.
Thanks in Advance.

Check Solution