Try a nested version:

<c:if test="${a > b}">
        <c:if test="${b > c}">
                ...
        </c:if>
</c:if>

|| would involve a few more tags.


-----Original Message-----
From: Robert Taylor [mailto:[EMAIL PROTECTED] 
Sent: 17 June 2004 14:45
To: Struts Users Mailing List
Subject: RE: how to implement && using <logic> tag in struts


I don't think you can. 
You can do this sort of thing with JSTL:


<c:if test="${a > b && b > c}">

</c:if>

robert

> -----Original Message-----
> From: Asim Ghosh [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 17, 2004 9:35 AM
> To: [EMAIL PROTECTED]
> Subject: how to implement && using <logic> tag in struts
> 
> 
> hello guys,
>  
>    how do i implement && and ||  using <logic:xxxxx>
>  
> example
> i need to convert
>  <% if( a > b && b > c) {
>  
> }
> %>
>  
> into struts <logic:xxxx> tag                                 
>  
> Asim
> 
> 
> 
> 
>               
> ---------------------------------
>  ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express 
> yourself

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


------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.


Internet communications are not secure and therefore the Barclays 
Group does not accept legal responsibility for the contents of this 
message.  Although the Barclays Group operates anti-virus programmes, 
it does not accept responsibility for any damage whatsoever that is 
caused by viruses being passed.  Any views or opinions presented are 
solely those of the author and do not necessarily represent those of the 
Barclays Group.  Replies to this email may be monitored by the Barclays 
Group for operational or business reasons.

------------------------------------------------------------------------


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

Reply via email to