RE: How to use request.isUserInRole(role) from JSTL?

2004-04-05 Thread Bill Siggelkow
Users List Subject: How to use request.isUserInRole(role) from JSTL? Hi, how can I do the following from JSTL (struts-1.1)? <% if (request.isUserInRole("...")) ... %> Zsolt - To unsubscribe, e-mail:

Re: How to use request.isUserInRole(role) from JSTL?

2004-04-05 Thread Kris Schneider
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.isUserIn

How to use request.isUserInRole(role) from JSTL?

2004-04-05 Thread Zsolt Koppany
Hi, how can I do the following from JSTL (struts-1.1)? <% if (request.isUserInRole("...")) ... %> Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]