aspose file tools*
The moose likes JSP and the fly likes JSP and XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and XML" Watch "JSP and XML" New topic
Author

JSP and XML

Chinni Bujji
Ranch Hand

Joined: Jan 31, 2007
Posts: 60
Hi all,

Need a suggestion for doing this

In our application we have security issues
so depending on the role the index page for the user will change
that means user can see only the menus that are provided for him
we want to display the menus that are only enabled for him

so i have setup a xml file with the configuration of what role will have what menus and submenus.

so i want to pull the data from the xml file and display it on the jsp page.

so i need to display the menus as tabs on the jsp page.

suggest me an idea of how to do this.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61762
    
  67

If the data is in XML format, your best bet would be to employ the JSTL's XML set of tags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and XML