Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

sahul vetcha

Greenhorn
+ Follow
since Aug 18, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sahul vetcha

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.



11 years ago