struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <erikwe...@mindspring.com>
Subject Re: How to implement OR functionality in STRUTS
Date Wed, 05 Jan 2005 06:05:30 GMT
Look into the expression language's Logical OR ("||") operator and the 
JSTL core tags (such as c:if). Possibly the OR operator would work 
within an EL expression using the logic:equal tag as well, but I just 
can't think of an example.

Erik


Krishna Mohan Radhakrishnan wrote:

> 
>Hi all,
>A very simple question.
>
><logic:equal ......>
>	<logic:equal......>
>	.......
>.........
>
>
>	</logic:equal......>
></logic:equal......>
>
>The above code is just like an AND function.
>Only if both the conditions are equal it will go inside the loop.
>
>Similarly How will we do it for an OR  condition.
>If any condition satisfies it should go inside the loop.
>
>May be this sounds a very silly question. I am a fresher to struts.
>That's Y?
>
>Regards,
>Krishna Mohan R
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>

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


Mime
View raw message