Jerome is referring to tags in the JSTL Core tag library.

<c:choose>
<c:when test="${conditional}">
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>

mmm code-bloat.

On 5/14/06, J Gotsch <[EMAIL PROTECTED]> wrote:
Which package does this belong to? I can't find it anywhere.

  Jerome Gagner <[EMAIL PROTECTED]> wrote:
  use

On 5/13/06, J Gotsch wrote:
> Hello All,
>
> How do I perform an If/else with ?
>
> In the below logic:iterate tag, If my collection contains both ROLE1 AND 
ROLE2, Then both statements will be displayed. And that's now what I want.
>
> I want to implement something like this:
>
> if(securityRoleName.equals("ROLE1"))
> // print You have ROLE1 !
> else if (securityRoleName.equals("ROLE1"))
> //print You have ROLE2 !
> else
> //print you have NO ROLE!
>
> This is what I have now:
>
> > property="xyz" scope="session">
>
> > property="securityRoleName" value="ROLE1">
> You have ROLE1 !
>
> > property="securityRoleName" value="ROLE2">
> You have ROLE1 !
>
> > property="securityRoleName">
> You have no ROLE!
>
>
>
>
>
> ---------------------------------
> Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! 
Messenger with Voice.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2¢/min 
with Yahoo! Messenger with Voice.

Reply via email to