Can anyone tell me the Difference between logic:notpresent and logic:empty
Joined: Feb 06, 2006
usually notpresent is used for availability of roles so you can tailor your jsp pages based on roles. But it basically checks for the existance of objects.
empty is for checking if strings (length of 0) or collections (null) are empty. [ August 16, 2007: Message edited by: Joe Sal ]
Joined: Jul 03, 2007
The wrapped content of notPresent tag is processed based on whether the object specified does not exist. notPresent tag can be used with these attributes cookie, header, parameter , name ,property, role and user