| Author |
Dynamically loading Menus in JSP after Server Startup
|
Ramesh Jothimani
Ranch Hand
Joined: May 05, 2011
Posts: 40
|
|
|
I have names of the menu's in Database . I need to query the names of menus dynamically after server startup n Homepage . I am using hibernate & struts for my application. Please suggest me a idea to achieve the same.
|
 |
Yogesh Lonkar
Ranch Hand
Joined: Jul 17, 2012
Posts: 82
|
|
|
i am not sure it is good idea to store menu of navigation links in database. if you know use tiles it will be very much you full. you design a navigation of menu bar for page and then assign session attribute for use as admin or member or guest and according to that program your jsp page for displaying different menu as per session user
|
Learning some thing New Every Day
|
 |
Ramesh Jothimani
Ranch Hand
Joined: May 05, 2011
Posts: 40
|
|
|
I am storing the navigation links in my DataBase for making the menus in my page dynamic . Incase if some one needs to add a new page / menu , it ll be more easier I feel. And Thanks a lot for suggesting Tiles . I was not aware of Tiles framework earlier and I found that it might be easier to achieve what I have mentioned with Tiles by means of Templates .
|
 |
 |
|
|
subject: Dynamically loading Menus in JSP after Server Startup
|
|
|