• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamically loading Menus in JSP after Server Startup

 
Ranch Hand
Posts: 70
Android Hibernate Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 94
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ramesh Jothimani
Ranch Hand
Posts: 70
Android Hibernate Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic