tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25617] New: - jspWriter.println(obj) where obj is null string.. not prints "null" literal
Date Thu, 18 Dec 2003 09:33:42 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=25617>.
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=25617

jspWriter.println(obj) where obj is null string..   not prints "null" literal

           Summary: jspWriter.println(obj) where obj is null string..   not
                    prints "null" literal
           Product: Tomcat 5
           Version: 5.0.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: awdhesh_kumar@yahoo.com


jspWriter.println(obj); where this Obj is a null String Object, prints empty
String not a "null" literal as per specs ..

public abstract void print(java.lang.String s)
Print a string. If the argument is null then the string “null” is printed.
Otherwise,
the string’s characters are converted into bytes according to the platform’s
default character encoding, and these bytes are written in exactly the
manner of the java.io.Writer.write(int) method.

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


Mime
View raw message