Hi, Code below is to check for for Action messages assigned for property. But i am checking for scalar or nested property in ActionForm.
I need to check if(strTemp!=null && !"".equalsIgnoreCase(strTemp )){ with logic tags. I have tried from Husted Site.But that doesn't work properly. Ted ,can you help me.!! -----Original Message----- From: Krishna, Hari [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 12:42 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: logic tags for "" and null check Hi use the following for null and empty check:) <logic:messagesPresent property="email"> class="errhead4" </logic:messagesPresent> With Best Regards, I.Hari krishna. ------------------------------------------------------------ Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -------------------------------------------------------------- -----Original Message----- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 12:22 PM To: user@struts.apache.org Subject: logic tags for "" and null check How to check below code for "" and not null checking using logic tags below code doesn't work if there is no value in database column. <logic:empty property ="databaseColumn1"> </logic:empty> -------------------- String strTemp =null; strTemp =""; if(strTemp!=null && !"".equalsIgnoreCase(strTemp )){ ------ -------- } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]