On Mon, 11 Oct 2004 17:37:36 -0500, Peng, Meimin <[EMAIL PROTECTED]> wrote: > Hi, > > I want to check a null vale in a list. > I try to find all struts-tag libraries for doing it. > But, not working yet. > <logic:present><logic:notPresent> is for checking non-null
I believe these check if the value exisits in the request. This may or may not be the same as checking for non-null, depending on the application. I have used this as a check for null values. > <logic:empty><logic:notEmpty> is for checking empty string. For these, the Struts user guide says: "Evaluate the nested body content of this tag if the requested variable is either null or an empty string." So, they do look for null values. > Does anyone can tell me how to check a null value in tag library? > Thanks. > --MM > > CONFIDENTIALITY NOTICE: The information in this e-mail is privileged and > confidential. Any use, copying or dissemination of any portion of this > e-mail by or to anyone other than the intended recipient(s) is unauthorized. > If you have received this e-mail in error, please reply to sender and delete > it from your system immediately. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]