File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and XML" Watch "JSP and XML" New topic


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

Joined: Jan 10, 2002
Posts: 63873

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP and XML
It's not a secret anymore!