Hi,
I am developing an application in struts-1.2.9. In that, when an admin login to the application, some links we need to display and when a guest user login to the application some links have to be display in the jsp page. I dont want to hard code in the jsp which links for which role. I want the links permissions will come from databse.
I created two tables
1) userinfo 2)User_role
I think I need to cretae another table with Role_permissions table which contains the records of all the usecases in my application. But I dont know the columns in the third table.
Can anybody tell me the columns in the table?
How to make the display of the links generic based on different roles?
Plese reply to this post.
Thanks in advance.