ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: isEmpty question
Date Tue, 16 May 2006 15:10:09 GMT
This is a simple java issue.

String string = null;
String string2 = "myString";

string.equals(string2);    <-- bam NPE

That is what you are trying to do in your code.  I would suggest  
using the isNotNull around your isEquals tag.


Nathan

On May 16, 2006, at 2:35 AM, Zsolt wrote:

> Hi,
>
> I get an exception if a use "<isEquals ..." and the property is not  
> defined.
> Is that a bug or feature?
>
> Zsolt
>
>
>
>
>


Mime
View raw message