struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slattery, Tim - BLS" <Slattery....@bls.gov>
Subject RE: logic:present tag problem
Date Fri, 26 Sep 2003 13:15:36 GMT
> Hi,
> 	I have a query
> 	if(a || b )
> 	{
> 		do certain operation
> 	}
> 	
> 	a or b will be attributes present in the session 
> object, how can i use logic:present tag to perform this operation.

Use the "if" tag in JSTL:

<c:if test="${a || b}">
   do certain operation
</c:if>


--
Tim Slattery
Slattery@bls.gov


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


Mime
View raw message