I've used the Jakarta taglibs-request tags to do this. <%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %>
<req:isUserInRole role="super"> <c:set var='userIsSuper' scope='session' value='true' /> </req:isUserInRole> -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Grzegorz Stasica Sent: Thursday, June 30, 2005 12:48 PM To: user@struts.apache.org 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]