Bug 7223

Summary: A fatal error occurs (HTTP 500) if the 'value' attribute of <c:set> is set to null.
Product: Taglibs Reporter: Ryan Lubke <Ryan.Lubke>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: normal CC: sergek
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Ryan Lubke 2002-03-18 22:55:37 UTC

<c:set var="someVar" value="${null}"/>


javax.servlet.ServletException: The "value" attribute illegally evaluated to
"null" or "" in <set>

JSTL Public Draft, Section 4.3, 'Null and Error Handling':
"If 'value' is null, the scoped variable defined by var and scope is removed."
Comment 1 Shawn Bayern 2002-03-18 23:01:42 UTC
Anothed spec change that slipped through.  All fixed.  Thanks again.
Comment 2 Shawn Bayern 2002-03-20 03:35:30 UTC
*** Bug 7257 has been marked as a duplicate of this bug. ***