Wednesday, January 23, 2002 11:58 AM
Hi all. I have a bean one of whose properties is parentId. I need to test to see if the parentId has a value or is null/empty.
Some of the documentation refers to the logic:empty and logic:notEmpty tags but I can't find these in either struts.jar or struts-logic.tld. Do they exist?
I then tried using the logic:equal and logic:notEqual tags to do the same thing but whenever the property has an empty string as value the tag seems to fail whether I am comparing against a non-empty value such as value="testval" or an empty value value="".
Please how can I test to see if a bean property is empty?