You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Asim Ghosh <as...@yahoo.co.uk> on 2004/06/17 15:34:43 UTC

how to implement && using 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 

RE: how to implement && using tag in struts

Posted by Robert Taylor <rt...@mulework.com>.
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:asimghosh26@yahoo.co.uk]
> Sent: Thursday, June 17, 2004 9:35 AM
> To: user@struts.apache.org
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org