Has anyone tried this using pure JSTL or Struts.  No rt.

I need to do something like this in JSP's

<c:if test="${pageContext.request.userInRole('foo') == true}" >

...

</c:if>

The above does not work.  How can I do this?  isUserInRole(String) is the
method I need to call.  Or maybe there is another way around this.  I want
to be able to show content conditionally on the j2ee role.


Jim Kennedy
IT Consultant



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to