Oh --- OR --- I was thinking ELSE.  Sorry.

JSTL solution:

<c:if test="${(foo == 1) || (foo == 2)}">
    <!-- relevant code -->
</c:if>

The Struts-based solution would be the same as I mentioned before, I 
believe.  Sorry - I somehow understood you wanted an ELSE!

chanoch wrote:

>however, this is quite ugly - you end up having to write two outputs for
>what is basically the same problem, hence the reference to OR.
>
>That means maintaining two Stuff's which are identical
>
>thoughts? (except for suggesting tiles which confused my designer guys
>completely - they already are trying to work out why I am "designing new
>HTML elements")
>
>chanoch
>

-- 
Eddie Bush




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

Reply via email to