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=18180>. 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=18180 Jasper getProperty violates spec. Summary: Jasper getProperty violates spec. Product: Tomcat 4 Version: 4.1.24 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The implementation of jsp:getProperty outputs "" rather than "null" when the get method returns null. This is due to the JspRuntimeLibrary toString(Object) implementation: public static String toString(Object o) { return (o == null) ? "" : o.toString(); } The equivalent implementation in jasper2 that is contained in the Tomcat 5 source (which yields the expected output): public static String toString(Object o) { return String.valueOf(o); } If it weren't for Tomcats status as being the reference implementation one could argue bug vs. feature.. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]