Since you're using Struts, the best thing to do is perform that test in your action and use the result to make a decision about where to go next. You can also use the result to set a request attribute that's more easily accessed through JSTL's EL:
Action: ------- boolean isAdmin = request.isUserInRole("admin"); request.setAttribute("isAdmin", Boolean.valueOf(isAdmin)); return mapping.findForward(...); JSP: ---- <c:if test="${isAdmin}"> ... </c:if> Quoting Zsolt Koppany <[EMAIL PROTECTED]>: > Hi, > > how can I do the following from JSTL (struts-1.1)? > <% > if (request.isUserInRole("...")) > ... > %> > Zsolt -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]