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/01/01 20:21:44 UTC
DO NOT REPLY [Bug 15754] New: -
PageContext.setAttribute doesn't throw NullPointerException
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=15754>.
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=15754
PageContext.setAttribute doesn't throw NullPointerException
Summary: PageContext.setAttribute doesn't throw
NullPointerException
Product: Tomcat 4
Version: 4.1.18
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: skoehler@upb.de
PageContext.setAttribute doesn't thow a NullPointerException if the attribute-
value if null as
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/jsp/PageContext.h
tml#setAttribute(java.lang.String,%20java.lang.Object,%20int) requires.
is !silently ignores! that null was specified. the attribute isn't set to null,
but isdn't removed too and getAttribute returnes the old value.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>