You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/06/04 02:26:21 UTC
DO NOT REPLY [Bug 19382] -
EL to String conversion outputs "0"
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=19382>.
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=19382
EL to String conversion outputs "0"
kin-man.chung@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From kin-man.chung@sun.com 2003-06-04 00:26 -------
Hmm. The latest nighly shows that the output to be <body onload="">, as
expected. So I'll assume that this has been fixed.
As to "${param.onload + ''}" results in "0". This is actually correct. JSP 2.0
JFD3 (http://jcp.org/aboutJava/communityprocess/first/jsr152/index3.html)
JSP.2.3.5.1 indicates that the operator +, when applied to null and '', results
in a value 0. In EL, + is used for additions, not concatenations.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org