struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19773] - <logic:empty> fails if only name given and bean is not found in context
Date Thu, 08 May 2003 21:34:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19773

<logic:empty> fails if only name given and bean is not found in context





------- Additional Comments From dgraham@apache.org  2003-05-08 21:34 -------
I have verified that the bug is correct.  The tag throws this error, "org.
apache.jasper.JasperException: Cannot find bean blah in any scope".
The JSTL's empty operator provides the equivalent functionality of this tag.  
You can try using <c:if test="${empty someBean}">do something</c:if>.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message