• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logic:notpresent vs logic;empty

 
Ganesh Kumar
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


Can anyone tell me the Difference between logic:notpresent and logic:empty



Thankyou
GaneshKumar
 
Joe Sal
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Ranjit Gopinathan
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic