Another JSTL equivalence question. The "present" and "notPresent" tags were ported to 
struts-el. The "present" tag is not equivalent to JSTL-EL "${!empty foo}" since, if 
foo is an empty string, foo is not !empty but is present. However, the "present" tag 
is equivalent to the JSTL-EL "${foo != null}", which returns true when foo is an empty 
string.

So, I'm am guessing that the reason these tags were ported was for the "role" and 
"user" attributes for which I cannot find equivalents in JSTL. Will anyone confirm? 
Does anyone know of a good way to get this functionality using JSTL instead of 
"present" and "notPresent"?

Again, this seems like good info to go into the struts-el readme patch.

Thanks,

Derek Richardson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to