You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nitesh <ni...@cordiant.net> on 2005/07/01 06:47:47 UTC
Re: check role - isUserInRole in jstl
Try if this works...
<c:if test="<%= request.isUserInRole('aa') %>">
</c:if>
Nitesh
----- Original Message -----
From: "Grzegorz Stasica" <gs...@poczta.onet.pl>
To: <us...@struts.apache.org>
Sent: Thursday, June 30, 2005 10:18 PM
Subject: check role - isUserInRole in jstl
> I've a code like that
> <c:if test="${request.isUserInRole('aa')}">
> </c:if>
>
> but I get an error that namespace has to be specified.
> IsUserInRole is a function so probably I invoke it incorectlly.
> How can I check user's role in jstl?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org