How about:

   <logic:equal ...>
      ...
   </logic:equal>
   <logic:equal ...>
      ...
   </logic:equal>

BTW, you might look into the similar JSTL tags: if and choose. They will likely have a longer life than the Struts equivalents. My philosophy is to use JSTL whenever possible.


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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--
Neil Erdwien, [EMAIL PROTECTED], Web Technologies Manager
Computing and Network Services, Kansas State University

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



Reply via email to