Hi folks,
I wish to construst a menu in jsp, and the menu has the following
characteristics:
1.it has a two level hierarchy,
        Paren1->child1
              ->child2
        paren2->child3
              ->child4...
2. some of the menu items might change/appear/not shown on different
parent jsp pages.
I wish to construct the menu as java code imbedded in the jsp page,eg.
String[]menuParent={parent1,parent2,...};
String[][]menuChildren={{child1,child2},{child3,child4}};
and then get a Vector pagesShown from a bean that stores what pages to
show based on several factors.
and then loop through the menuParent and menuChildren to print them to the page.
Is this a good approach? any advise on alternative approaches or
improvements on this approach?
any more efficient methods?

thanks!!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to