This content has been marked as final. Show 2 replies
ok, my fault:
i have to use portletRequest variable instead of request.
and therefore I have to insert the defineObjects tag.
this works now (returns true as is should):
<portlet:defineObjects/> <% out.println("jsp in role : " + renderRequest.isUserInRole("student")); %>
Thanks this topic solves my problem/error.