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/12/05 14:58:06 UTC

DO NOT REPLY [Bug 25241] New: - jsp:getProperty tag prints "null" if property is null.

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=25241>.
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=25241

jsp:getProperty  tag prints "null" if property is null.

           Summary: jsp:getProperty  tag prints "null" if property is null.
           Product: Tomcat 5
           Version: 5.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bsouther@fwdco.com


With versions prior to 5x a jsp:getProperty tag will print a zero length string
if the String (object) property being accessed is null.

With version 5x it prints "null".  

This will cause problems for developers moving applications from 4x to 5x.

I submitted a patch that fixes this to the Tomcat Developer list.
It is also available at the following URL:
http://www.souther.us/JspRuntimeLibrary.patch

Thank you,
Ben Souther

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