Create Dynamic DHTML Menu with JSP
To create a dynamic menu from database, you can input some condition clauses using either CGI (JSP, PHP, JSP, and etc.) or JavaScript language, that is, to input the Prefix or Suffix for a menu item in Menu Item Settings > Condition.
Click following link to learn more:
http://www.sothink.com/product/dhtmlmenu/store/jspdb/jspdb.htm