RE: How to compare a notNull string with the nullString!

2002-03-22 Thread Jennings, Christofer J.
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

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Yu, Yanhui
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

RE: How to compare a notNull string with the nullString!

2002-03-21 Thread Dimitar Stavrakov
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