We are in the process of converting our app from
Struts to Struts 2, and I'm running into an issue with roles. When using Struts we would display a link based on a user role by using the following in the
jsp:
There doesn't appear to anything similar in Struts 2 (or maybe I have to look harder). The only alternative I could think of is to do something like:
Is there a more simple option? Any recommendations are welcome.
Thanks in advance,
Fletch