tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <akol...@us.ibm.com>
Subject Re: <c:if test="${nc.readyDate !=''}">
Date Thu, 07 Apr 2005 17:02:07 GMT
> <c:if test="${nc.readyDate !=''}"> seems to 
> always return true  whether it contains a value or not..
> 
> how should i rewrite the test?

Use the empty operator. ${empty nc.readyDate} will return true if 
readyDate has not been populated.

-Rahul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message