DO NOT REPLY [Bug 25241] - 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. [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-02-25 13:17 --- *** Bug 27215 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | Version|5.0.16 |5.0.18 --- Additional Comments From [EMAIL PROTECTED] 2004-02-25 13:24 --- is the bug fixed for 5.0.18 version.. or else need to apply the patch thks Sudhakar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2004-02-25 13:33 --- No, the patch will not be applied. It violates the spec per previous comments in this bug report. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-08 10:06 --- Sorry, I think there was a misunderstanding: the spec is clear that null should be printed out, so we won't include a feature which violates the spec. So no patch will be accepted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-08 02:40 --- Created an attachment (id=9436) Patch to allow the behavior of jsp:getProperty (when accessing null properites) to be configured via the global web.xml file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-08 02:42 --- The above patche when applied to Tomcat 5.0.16 will allow a user to configure the behavior of a jsp:getProperty tag accssing a null bean property. Prior to version 5, a jsp:getProperty call would print an empty string to the page if the bean's property was of type Object and the property was null. In version 5, it prints the string null. The following changes were made: - web.xml Added xml comment explaining the jspTagShowNull option - Options.java Added the isJspTagShowNull definition. - EmbeddedServletOptions.java Added the isJspTagShowNull implementation. - JspC.java Added the DONT_SHOW_NULL command line option. - JspRuntimeLibrary.java Added a second (boolean) argument to all the toString(type) methods as well as code to optionally suppress the null output for the toString(object, boolean) method. - Generator.java Added code to print the second argument to the generated servlet code. - messages.properties Added the warning text for the jspTagShowNull option. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 15:18 --- Revision 1.7 of JspRuntimeLibrary seems to indicate this was done on purpose for this Jasper release. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 15:46 --- Is there a reason why this change was made? I searched bugzilla with keyword getProperty before writing the patch and wasn't able to find anything. When using lt;%=bean.getXXX()%gt; one would expect to see null printed but, since the XML syntax tags coerce native types to their respective String values, it made sense (IMHO) for nulls to be converted to empty strings. My own app has hundreds of text fields that now have null for thier initial value. I imagine this will be the case for many other applications. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 16:56 --- Since this was the only change in a revision: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/JspRuntimeLibrary.java?rev=1.7view=markup Given that this was done by developer from Sun, this seems to be the correct behavior. The spec says: The conversion to String is done as in the println() methods which in the case of nulls, does print the word null. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 18:08 --- If I were to write a patch to make this configurable via the jsp servlet tag in web.xml for backward compatibility, would I have a snowball's chance in hell of getting it committed? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 18:37 --- I looked in the spec: paragraph 5.3 points to inserting null, same as println (= String.valueOf). Now, the same paragraph in the spec mentions it's also equivalent to doing a toString on the Object. Maybe not ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25241] - 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. --- Additional Comments From [EMAIL PROTECTED] 2003-12-05 18:57 --- Thanks Remy, I'll submit a patch. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]