tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek <dhai...@yahoo.com>
Subject Re: Nested expressions
Date Fri, 20 Aug 2004 01:47:23 GMT
You were on the right path.  This should do it...

<c:if test="${params.key != 'view' || params.key != 'perPage'}">

Derek


On Aug 19, 2004, at 7:47 PM, Nic Werner wrote:

> I'm sure I'm just looking at this the wrong way, and I can't find it 
> in Shawns book, but I want to evaluate two variables with an OR 
> condition:
>
> <c:if test="${params.key != ('view' || 'perPage')}">
>
> Basically, if params.key doesn't equal  the words 'view' or 'perPage', 
> go ahead.......
>
> What am I doing wrong here?!
>
> Thanks,
> - Nic
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message