Generate Menu from Database in JSP
802523Aug 31 2008 — edited Sep 11 2008I want to generate dynamic menu according to the user roles. This i want to achieve with JSP.
Currently i have a javascript for menu design and effects. I want the following steps done which is pending :
1.Create a Menu entries into a database
2.Render menu items from database
3.Have one field as "role" employee and customer. Now based on customer or employee the menus should be displayed.
Kindly suggest me how to go about this. It would be great if a sample code shared.
Thanks a lot for your help.
Thanks and Rgds,
Kino