File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Creating a dynamic menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Creating a dynamic menu" Watch "Creating a dynamic menu" New topic

Creating a dynamic menu

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155

I have a menu.js file that will display all the menus in my index.jsp. I want to control the menus according to the user logging in .. How do i do this
.. does anyone have a sample code for menu custom tags with explanation..

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

For security, you need to do something on the server side to control access. Maybe it can write out the pages to display and have menu.js called with those?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Creating a dynamic menu
It's not a secret anymore!