struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Van Wart <sc...@indosoft.ca>
Subject The validwhen validation's treatment of null and empty string
Date Sat, 03 Jun 2006 02:22:13 GMT
If a bean's property is the empty string "", does a test like (property 
== null) suffice?  Or do I have to say ((property == null) or (property 
== ''))?

- Scott

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


Mime
View raw message