I came across this yesterday. Here's what I found. If a bean exists with a
null field, doing a logic:present on the field return true and comparing it
(e.g., using logic:equals) gets a NullPointerException.
If there is a custom tag to check for null values I'd love to know it.
I think this may
HI
might not be considered a valid value? Sorry if I am wrong.
Yanhui
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: How to compare a notNull string with the nullString!
Subject: How to
Try using the present tag ex:
logic:present name=bean Name here property=property name here
/
Regards,
Dimitar
-Original Message-
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:25 AM
To: [EMAIL PROTECTED]
Subject: How to compare a
3 matches
Mail list logo