aspose file tools*
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
Author

Creating a dynamic menu

Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
Hi,

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..

Anil
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30929
    
158

Anil,
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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a dynamic menu