Use <logic:empty> to test if it is null or an empty String. Use <logic:notEmpty> to test if it is not a null String and not an empty String
Shawn -----Original Message----- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 3:55 PM To: Struts Users Mailing List Subject: <logic:equal looking for null Hi , I have code like this. <logic:equal name="viewPaymentsAndDisbursementsForm" property="lastPaymentAmount" value= "0.00"> no payments have been applied to your account.</span></td> </logic:equal> <logic:greaterThan name="viewPaymentsAndDisbursementsForm" property="lastPaymentAmount" value="0.00"> Some payments have been applied to your account.</span></td> </logic:greaterThan> The Aboove code was working as long as lastPaymentAmount was double.But as per the requiremnt i had to change it to String.As per the new requirement i have to look for whether lastPaymentAmount is null or not.Which Struts Libs i need to use in this situation.. Thanks In Advance Srinivas **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]