struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Germuska <>
Subject Re: [OT] how to test user role in jsp
Date Tue, 03 May 2005 15:59:42 GMT
You can use <logic:present> (and 
<logic:notPresent>) to conditionally evaluate the 
user's role:


At 4:44 PM +0200 5/3/05, Günther Wieser wrote:
>sorry for posting something that's very likely not really related to struts
>(but maybe it is, who knows), but coudn't find anything on the net.
>i would like to display a link depending if a user is in a certain role. is
>there a test i could use in <c:if test=${...}> or anything else i could use
>as a tag to do this? do i need to implement this on my own?
>Günther Wieser
>Guglgasse 6/1/11/1
>A-1110 Wien

Joe Germuska       
"Narrow minds are weapons made for mass destruction"  -The Ex

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message