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]

Reply via email to