I have a user object in the session
The user object contains a List object that conatins an entry for each role the
person has.
User {
private Roles r = new Roles();
user() {}
(getters setters)..
}
i have a Console.jsp (this is used to show items that need processing by the
user).
the
Assuming you can get a Collection of roles, using jstl,
c:forEach items=${requestScope.ROLES} var=role
c:if test=${role.name == 'myRole'}
Do something...
/c:if
/c:forEach
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: sean jones [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Pady Srinivasan Pady.Srinivasan at Heroix.com writes:
Assuming you can get a Collection of roles, using jstl,
c:forEach items=${requestScope.ROLES} var=role
c:if test=${role.name == 'myRole'}
Do something...
/c:if
/c:forEach
Thanks
thanks, but this is about what i have now
3 matches
Mail list logo