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/18 10:33:42 UTC

DO NOT REPLY [Bug 25617] New: - jspWriter.println(obj) where obj is null string.. not prints "null" literal

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