I have a static accordion menu displayed currently using the struts-jquery. Now, I need to fetch list of menus / submenu items from the database and display to the logged in user, based on their roles. How can I achieve this. Is there any solution in jquery/json/ajax. Can someone please help me with an example.