Hi! I need to check if the certain String field in the bean is not null, then I display certain elements in my JSP (running it on Websphere 4.0):
So, I do this check: <logic:notEqual name="accountForm" property="postalCode" value="null"> do something </logic:notEqual> That does not work. The server gives me error, something like: "Null attribute value" or when I check for empty strings, I tried this: <logic:notEqual name="accountForm" property="postalCode" value="<%=""%>"> do something </logic:notEqual> Get server error: "Attribute has no value" Then I tried this: <logic:notEqual name="accountForm" property="postalCode" value=" <%=null%>"> do something </logic:notEqual> Does not work either. How can I make it work? How can I do this check correctly? Are there any workarounds? Thanks. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]